(svn r6827) -Fix r6824: removed warning
authorglx
Wed, 18 Oct 2006 21:33:59 +0000
changeset 4889 02a05885ce68
parent 4888 acb34a8e5b13
child 4890 7a3648cdfb68
(svn r6827) -Fix r6824: removed warning
main_gui.c
--- a/main_gui.c	Wed Oct 18 21:19:04 2006 +0000
+++ b/main_gui.c	Wed Oct 18 21:33:59 2006 +0000
@@ -2328,7 +2328,7 @@
 #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;