fix an uninitialized variable warnign
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 15 Feb 2007 07:55:14 +0000 (07:55 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 15 Feb 2007 07:55:14 +0000 (07:55 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6844 d7cf8633-e32d-0410-b094-e92efae38249

csprogs.c

index c4b5e47..5e15eeb 100644 (file)
--- a/csprogs.c
+++ b/csprogs.c
@@ -417,7 +417,7 @@ void CL_VM_Parse_CenterPrint (const char *msg)
 
 float CL_VM_Event (float event)                //[515]: needed ? I'd say "YES", but don't know for what :D
 {
-       float r;
+       float r = 0;
        if(!csqc_loaded)
                return 0;
        CSQC_BEGIN