# HG changeset patch # User tron # Date 1157036065 0 # Node ID dd7fa295dc7b6ed1f6ec51a544da722941327bd2 # Parent 961ea38cafaf4dc59524334558143cdd3f634b28 (svn r6276) Remove a redundant assignment diff --git a/network_gui.c b/network_gui.c --- 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)