From 1b713e918291259257fbbaf30f627e38b6bf2261 Mon Sep 17 00:00:00 2001 From: KUDr Date: Fri, 1 Dec 2006 08:23:15 +0000 Subject: [PATCH] (svn r7317) -Fix: (r7299) warning: unused variable num_engines (peter1138) --- train_gui.c | 1 - 1 file changed, 1 deletion(-) diff --git a/train_gui.c b/train_gui.c index 4637fb90df..69f27665ed 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;