misc_gui.c
changeset 5137 a1f26c30fecd
parent 5125 60b21cf18b50
child 5155 64f930853bea
--- a/misc_gui.c	Sun Nov 19 22:11:04 2006 +0000
+++ b/misc_gui.c	Sun Nov 19 22:24:18 2006 +0000
@@ -1852,10 +1852,8 @@
 
 void ShowCheatWindow(void)
 {
-	Window *w;
-
 	DeleteWindowById(WC_CHEATS, 0);
-	w = AllocateWindowDesc(&_cheats_desc);
+	AllocateWindowDesc(&_cheats_desc);
 }
 
 /** Resize the widgets in a window