summaryrefslogtreecommitdiff
path: root/src/r_data.c
diff options
context:
space:
mode:
authorSimon Howard2012-12-23 21:25:40 +0000
committerSimon Howard2012-12-23 21:25:40 +0000
commitadbfa3216cf3ef6f71cc5b6b22c25a04ae737212 (patch)
tree65a0b4ddec8d685e90c96b02bd3d958bc619ee3c /src/r_data.c
parent7b9cfe4a6145bf6d428cca5e4a7241f666c4a7d9 (diff)
downloadchocolate-doom-adbfa3216cf3ef6f71cc5b6b22c25a04ae737212.tar.gz
chocolate-doom-adbfa3216cf3ef6f71cc5b6b22c25a04ae737212.tar.bz2
chocolate-doom-adbfa3216cf3ef6f71cc5b6b22c25a04ae737212.zip
Fix compiler warnings caused by unused variables.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2552
Diffstat (limited to 'src/r_data.c')
-rw-r--r--src/r_data.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/r_data.c b/src/r_data.c
index ccfc5efe..a9f8920c 100644
--- a/src/r_data.c
+++ b/src/r_data.c
@@ -199,10 +199,7 @@ R_DrawColumnInCache
int count;
int position;
byte* source;
- byte* dest;
-
- dest = (byte *)cache + 3;
-
+
while (patch->topdelta != 0xff)
{
source = (byte *)patch + 3;
@@ -694,12 +691,11 @@ void R_InitSpriteLumps (void)
//
void R_InitColormaps (void)
{
- int lump, length;
-
+ 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);
}