summaryrefslogtreecommitdiff
path: root/engine_gui.c
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2006-11-19 22:24:18 +0000
committerDarkvater <Darkvater@openttd.org>2006-11-19 22:24:18 +0000
commit53b02577b92ed8ca5d4067568471101694c067b7 (patch)
treeb46bb1e03e00ce3e9e68695f1e77932e887415a6 /engine_gui.c
parent0470883f8270d3f5fb9eb05ebb8ce90092c46c74 (diff)
downloadopenttd-53b02577b92ed8ca5d4067568471101694c067b7.tar.xz
(svn r7219) -Fix: Several warnings by gcc introduced in r7206 which MSVC found not of a problem. Thanks Tron
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)