summaryrefslogtreecommitdiff
path: root/engine_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'engine_gui.c')
-rw-r--r--engine_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine_gui.c b/engine_gui.c
index 30c294b1e..31f175cf1 100644
--- a/engine_gui.c
+++ b/engine_gui.c
@@ -115,7 +115,7 @@ static const WindowDesc _engine_preview_desc = {
void ShowEnginePreviewWindow(EngineID engine)
{
- Window *w = AllocateWindowDescFront(&_engine_preview_desc, engine);
+ AllocateWindowDescFront(&_engine_preview_desc, engine);
}
static void DrawTrainEngineInfo(EngineID engine, int x, int y, int maxw)