From f1050ee4fead9f47471f25dc10650dad3bf68220 Mon Sep 17 00:00:00 2001 From: Fabian Greffrath Date: Fri, 8 May 2015 09:11:23 +0200 Subject: warnings: fix "variable ‘..’ set but not used" warnings Fixed by commenting out the reported variables and their settings instead of removing them. Since I am not sure if they were added by mistake or by purpose and then overseen, I think it's better to keep them in the code but not compile them in for now. --- src/strife/p_setup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/strife/p_setup.c') diff --git a/src/strife/p_setup.c b/src/strife/p_setup.c index 1fd889fa..a8c025d4 100644 --- a/src/strife/p_setup.c +++ b/src/strife/p_setup.c @@ -324,7 +324,7 @@ void P_LoadThings (int lump) mapthing_t *mt; mapthing_t spawnthing; int numthings; - boolean spawn; +// boolean spawn; data = W_CacheLumpNum (lump,PU_STATIC); numthings = W_LumpLength (lump) / sizeof(mapthing_t); @@ -332,7 +332,7 @@ void P_LoadThings (int lump) mt = (mapthing_t *)data; for (i=0 ; i