From 0f0b19b509e71e991001841570e71cf5ef243470 Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 25 Jun 2010 14:05:05 +0000 Subject: [PATCH] fix a warning git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10252 d7cf8633-e32d-0410-b094-e92efae38249 --- model_shared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model_shared.c b/model_shared.c index 840f8b7f..2de4897a 100644 --- a/model_shared.c +++ b/model_shared.c @@ -1628,7 +1628,7 @@ void Mod_LoadQ3Shaders(void) // parse custinfoparms.txt numcustsurfaceparms = 0; - if (text = f = (char *)FS_LoadFile("scripts/custinfoparms.txt", tempmempool, false, NULL)) + if ((text = f = (char *)FS_LoadFile("scripts/custinfoparms.txt", tempmempool, false, NULL)) != NULL) { if (!COM_ParseToken_QuakeC(&text, false) || strcasecmp(com_token, "{")) Con_DPrintf("scripts/custinfoparms.txt: contentflags section parsing error - expected \"{\", found \"%s\"\n", com_token); -- 2.39.2