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
commitb1fb27dc2ed65f7ac7d399a47047f0371b3ff53a (patch)
tree3e87bb7de875f0c9adf45a9037e4c1b401105b99
parent6b55f4cf07d9c89decee0479092e48487d85f917 (diff)
downloadopenttd-b1fb27dc2ed65f7ac7d399a47047f0371b3ff53a.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;