From 9b6485b5cc5f005a547e8dd3e3d5a8b90838ed99 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Mon, 24 Dec 2012 18:33:24 +0000 Subject: Fix compiler warnings by removing variables that are set but not used. Subversion-branch: /branches/v2-branch Subversion-revision: 2555 --- src/strife/r_data.c | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'src/strife/r_data.c') diff --git a/src/strife/r_data.c b/src/strife/r_data.c index 9130d6d7..b8fa5686 100644 --- a/src/strife/r_data.c +++ b/src/strife/r_data.c @@ -195,10 +195,7 @@ R_DrawColumnInCache int count; int position; byte* source; - byte* dest; - - dest = (byte *)cache + 3; - + while (patch->topdelta != 0xff) { source = (byte *)patch + 3; @@ -708,12 +705,10 @@ void R_InitSpriteLumps (void) // void R_InitColormaps (void) { - int lump, length; - - // Load in the light tables, - // 256 byte align tables. + int lump; + + // Load in the light tables, 256 byte align tables. lump = W_GetNumForName(DEH_String("COLORMAP")); - length = W_LumpLength (lump); colormaps = W_CacheLumpNum(lump, PU_STATIC); } -- cgit v1.2.3