diff options
author | Darkvater <darkvater@openttd.org> | 2006-11-19 22:24:18 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-11-19 22:24:18 +0000 |
commit | ba9f22cee6b0d4a4ba0b5740e2d532c41524756d (patch) | |
tree | b46bb1e03e00ce3e9e68695f1e77932e887415a6 /misc_gui.c | |
parent | fb1bb34774c49e3a1685dfffce88bb31b178636f (diff) | |
download | openttd-ba9f22cee6b0d4a4ba0b5740e2d532c41524756d.tar.xz |
(svn r7219) -Fix: Several warnings by gcc introduced in r7206 which MSVC found not of a problem. Thanks Tron
Diffstat (limited to 'misc_gui.c')
-rw-r--r-- | misc_gui.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/misc_gui.c b/misc_gui.c index 0a6b19ccc..3d721ca29 100644 --- a/misc_gui.c +++ b/misc_gui.c @@ -1852,10 +1852,8 @@ static const WindowDesc _cheats_desc = { void ShowCheatWindow(void) { - Window *w; - DeleteWindowById(WC_CHEATS, 0); - w = AllocateWindowDesc(&_cheats_desc); + AllocateWindowDesc(&_cheats_desc); } /** Resize the widgets in a window |