From a72a2924f31083e0dcfd4054c5bcbaa9abb187f5 Mon Sep 17 00:00:00 2001 From: molivier Date: Mon, 3 Jan 2005 14:22:35 +0000 Subject: [PATCH] Fixed a warning about an uninitialized variable git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4896 d7cf8633-e32d-0410-b094-e92efae38249 --- netconn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netconn.c b/netconn.c index e6dd8a77..d9c051f9 100755 --- a/netconn.c +++ b/netconn.c @@ -125,7 +125,7 @@ static void _HostCache_ViewSet_Remove( int index ) // returns true if A should be inserted before B static qboolean _HostCache_SortTest( hostcache_t *A, hostcache_t *B ) { - int result; // > 0 if for numbers A > B and for text if A < B + int result = 0; // > 0 if for numbers A > B and for text if A < B if( hostcache_sortbyfield == HCIF_PING ) result = A->info.ping - B->info.ping; -- 2.39.2