summaryrefslogtreecommitdiff
path: root/network_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'network_gui.c')
-rw-r--r--network_gui.c3
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)