]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
initialize red to false (fixes an uninitialized variable warning which appears to...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 31 Aug 2005 14:05:59 +0000 (14:05 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 31 Aug 2005 14:05:59 +0000 (14:05 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5675 d7cf8633-e32d-0410-b094-e92efae38249

sbar.c

diff --git a/sbar.c b/sbar.c
index 11af8af43c2e42865cd528140d1db6d9344bcfda..b1008c2bd528d44ee0d1b72066db0426835b27da 100644 (file)
--- a/sbar.c
+++ b/sbar.c
@@ -812,7 +812,7 @@ void Sbar_ShowFPS(void)
        char fpsstring[32];
        char timestring[32];
        char datestring[32];
-       qboolean red;
+       qboolean red = false;
        fpsstring[0] = 0;
        timestring[0] = 0;
        datestring[0] = 0;