From: havoc Date: Wed, 20 Jun 2007 05:40:55 +0000 (+0000) Subject: fix uninitialized variable when CSQC does not have ConsoleCommand X-Git-Tag: xonotic-v0.1.0preview~3019 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=42c922a3b12ddcbcfe4981fef9311a633f041fc7;p=xonotic%2Fdarkplaces.git fix uninitialized variable when CSQC does not have ConsoleCommand git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7445 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/csprogs.c b/csprogs.c index 3b9696b9..26aa822a 100644 --- 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