]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix an uninitialized variable warning in win32
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 7 Jun 2003 19:19:16 +0000 (19:19 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 7 Jun 2003 19:19:16 +0000 (19:19 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3068 d7cf8633-e32d-0410-b094-e92efae38249

sys_linux.c

index 2cda90728f61eadae4da357b02def3587523f343..084eb0402cb7ad0b0112c3f85aa5f63ab0b92a62 100644 (file)
@@ -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;