]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix uninitialized variable when CSQC does not have ConsoleCommand
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 20 Jun 2007 05:40:55 +0000 (05:40 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 20 Jun 2007 05:40:55 +0000 (05:40 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7445 d7cf8633-e32d-0410-b094-e92efae38249

csprogs.c

index 3b9696b9ea9d4b6b5961fd6808ec66c9df014b11..26aa822add799951628e00d3dcc2f53017eaa2e6 100644 (file)
--- a/csprogs.c
+++ b/csprogs.c
@@ -256,7 +256,7 @@ extern sizebuf_t vm_tempstringsbuf;
 qboolean CL_VM_ConsoleCommand (const char *cmd)
 {
        int restorevm_tempstringsbuf_cursize;
-       qboolean r;
+       qboolean r = false;
        if(!cl.csqc_loaded)
                return false;
        CSQC_BEGIN