From: havoc Date: Sat, 7 Jun 2003 19:19:16 +0000 (+0000) Subject: fix an uninitialized variable warning in win32 X-Git-Tag: xonotic-v0.1.0preview~6596 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4355c25cc8c97ff588ac95134b0f559e49a5be8a;p=xonotic%2Fdarkplaces.git fix an uninitialized variable warning in win32 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3068 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/sys_linux.c b/sys_linux.c index 2cda9072..084eb040 100644 --- a/sys_linux.c +++ b/sys_linux.c @@ -139,7 +139,7 @@ char *Sys_ConsoleInput(void) if (cls.state == ca_dedicated) { static char text[256]; - int len; + int len = 0; #ifdef WIN32 int c;