summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main_gui.c b/main_gui.c
index 8334496a1..46c32df53 100644
--- a/main_gui.c
+++ b/main_gui.c
@@ -2328,7 +2328,7 @@ static void MainWindowWndProc(Window *w, WindowEvent *e)
#ifdef ENABLE_NETWORK
case WKC_RETURN: case 'T': // smart chat; send to team if any, otherwise to all
if (_networking) {
- const NetworkClientInfo *ci;
+ const NetworkClientInfo *ci = NULL;
const NetworkClientInfo *cio = NetworkFindClientInfoFromIndex(_network_own_client_index);
bool has_team = false;