changeset 4491:dd7fa295dc7b draft

(svn r6276) Remove a redundant assignment
author tron <tron@openttd.org>
date Thu, 31 Aug 2006 14:54:25 +0000
parents 961ea38cafaf
children 7a9e37455b32
files network_gui.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/network_gui.c
+++ b/network_gui.c
@@ -1392,8 +1392,7 @@
 
 void ShowClientList(void)
 {
-	Window *w = AllocateWindowDescFront(&_client_list_desc, 0);
-	if (w != NULL) w->window_number = 0;
+	AllocateWindowDescFront(&_client_list_desc, 0);
 }
 
 static void NetworkJoinStatusWindowWndProc(Window *w, WindowEvent *e)