summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2006-10-18 21:33:59 +0000
committerglx <glx@openttd.org>2006-10-18 21:33:59 +0000
commitae4316f4ff2142ed86ad4b4b9cdc770f9b42f72b (patch)
tree3e87bb7de875f0c9adf45a9037e4c1b401105b99
parentc8ffe7bd0e09004248e5518a75887988b57bbc9e (diff)
downloadopenttd-ae4316f4ff2142ed86ad4b4b9cdc770f9b42f72b.tar.xz
(svn r6827) -Fix r6824: removed warning
-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;