summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKUDr <KUDr@openttd.org>2006-12-01 08:23:15 +0000
committerKUDr <KUDr@openttd.org>2006-12-01 08:23:15 +0000
commit1b713e918291259257fbbaf30f627e38b6bf2261 (patch)
tree6abe83209a110adace8c63cfb8d01d613ae22be0
parent672d45d8f697de8050bb2508cc8aefc33c88283b (diff)
downloadopenttd-1b713e918291259257fbbaf30f627e38b6bf2261.tar.xz
(svn r7317) -Fix: (r7299) warning: unused variable num_engines (peter1138)
-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;