]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
hush a warning in Dev-C++
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 17 Jun 2008 10:17:04 +0000 (10:17 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 17 Jun 2008 10:17:04 +0000 (10:17 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8363 d7cf8633-e32d-0410-b094-e92efae38249

gl_rsurf.c

index 586219e5bbf87b7e82a9572b7cf48de2cc0155bb..d14cc1fb540bfdda417f86840eb0a7e4f09d562a 100644 (file)
@@ -1119,6 +1119,7 @@ void R_Q1BSP_DrawLight(entity_render_t *ent, int numsurfaces, const int *surface
                        }
                        batchnumtriangles = 0;
                        batchfirsttriangle = surface->num_firsttriangle;
+                       m = 0; // hush warning
                        for (l = k;l < kend;l++)
                        {
                                surface = batchsurfacelist[l];