diff options
author | tron <tron@openttd.org> | 2006-08-31 14:54:25 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-08-31 14:54:25 +0000 |
commit | e7783e0240b2ba2bbc95527bd012aae5324a78d5 (patch) | |
tree | f334161e925d4def886346e0774293fb9beb8e36 | |
parent | cb793f1e0f62f23494ff15e81e8b686d19c807e1 (diff) | |
download | openttd-e7783e0240b2ba2bbc95527bd012aae5324a78d5.tar.xz |
(svn r6276) Remove a redundant assignment
-rw-r--r-- | network_gui.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/network_gui.c b/network_gui.c index 4c530cbb8..95d9d5213 100644 --- a/network_gui.c +++ b/network_gui.c @@ -1392,8 +1392,7 @@ static void ClientListWndProc(Window *w, WindowEvent *e) 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) |