summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--train_gui.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/train_gui.c b/train_gui.c
index 4637fb90d..69f27665e 100644
--- a/train_gui.c
+++ b/train_gui.c
@@ -422,7 +422,6 @@ static void GenerateBuildList(Window *w)
static void DrawTrainBuildWindow(Window *w)
{
const buildvehicle_d *bv = &WP(w, buildvehicle_d);
- int num_engines = EngList_Count(&bv->eng_list);
int x = 1;
int y = 27;
EngineID selected_id = bv->sel_engine;