gl_model.c (Mod_LoadTextures): If lump->filelen == 0, initialize m to NULL

in order to avoid a bogus compiler warning.


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@151 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2010-04-26 13:47:19 +00:00
parent 42d4e43d5f
commit 7dd3951cff

View file

@ -387,6 +387,7 @@ void Mod_LoadTextures (lump_t *l)
{
Con_Printf ("Mod_LoadTextures: no textures in bsp file\n");
nummiptex = 0;
m = NULL; // avoid bogus compiler warning
}
else
{