]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix a warning
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 25 Nov 2005 23:00:30 +0000 (23:00 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 25 Nov 2005 23:00:30 +0000 (23:00 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5837 d7cf8633-e32d-0410-b094-e92efae38249

cl_parse.c

index f9f8cd474c762e1a7e8274b80eb6e68a01657df3..78efe32c32e641b8914abf26f2d24148210814cf 100644 (file)
@@ -844,7 +844,7 @@ void CL_ParseBeam (model_t *m, int lightning)
 {
        int i, ent;
        vec3_t start, end;
-       beam_t *b;
+       beam_t *b = NULL;
 
        ent = (unsigned short) MSG_ReadShort ();
        MSG_ReadVector(start, cl.protocol);