diff options
author | Fabian Greffrath | 2015-05-08 09:11:23 +0200 |
---|---|---|
committer | Fabian Greffrath | 2015-05-08 09:11:23 +0200 |
commit | f1050ee4fead9f47471f25dc10650dad3bf68220 (patch) | |
tree | f93e4e2d75cbab3eca3bd0b0543058f5ebf41267 /src/strife | |
parent | 5b423fcfc1ba0774b10c566a63b9e14c3c02409c (diff) | |
download | chocolate-doom-f1050ee4fead9f47471f25dc10650dad3bf68220.tar.gz chocolate-doom-f1050ee4fead9f47471f25dc10650dad3bf68220.tar.bz2 chocolate-doom-f1050ee4fead9f47471f25dc10650dad3bf68220.zip |
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.
Diffstat (limited to 'src/strife')
-rw-r--r-- | src/strife/f_finale.c | 8 | ||||
-rw-r--r-- | src/strife/p_setup.c | 4 | ||||
-rw-r--r-- | src/strife/st_stuff.c | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/src/strife/f_finale.c b/src/strife/f_finale.c index 9c55c102..23ed3dec 100644 --- a/src/strife/f_finale.c +++ b/src/strife/f_finale.c @@ -934,11 +934,11 @@ void F_DrawMap34End (void) { signed int scrolled; int x; - patch_t* p1; - patch_t* p2; +// patch_t* p1; +// patch_t* p2; - p1 = W_CacheLumpName (DEH_String("credit"), PU_LEVEL); - p2 = W_CacheLumpName (DEH_String("vellogo"), PU_LEVEL); +// p1 = W_CacheLumpName (DEH_String("credit"), PU_LEVEL); +// p2 = W_CacheLumpName (DEH_String("vellogo"), PU_LEVEL); V_MarkRect (0, 0, SCREENWIDTH, SCREENHEIGHT); 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<numthings ; i++, mt++) { - spawn = true; +// spawn = true; // Do not spawn cool, new monsters if !commercial // STRIFE-TODO: replace with isregistered stuff diff --git a/src/strife/st_stuff.c b/src/strife/st_stuff.c index 59017690..9b055a77 100644 --- a/src/strife/st_stuff.c +++ b/src/strife/st_stuff.c @@ -1495,8 +1495,8 @@ void ST_loadGraphics(void) void ST_loadData(void) { - static int dword_8848C = 1; // STRIFE-TODO: what is the purpose of this? - dword_8848C = 0; +// static int dword_8848C = 1; // STRIFE-TODO: what is the purpose of this? +// dword_8848C = 0; lu_palette = W_GetNumForName (DEH_String("PLAYPAL")); ST_loadGraphics(); |