summaryrefslogtreecommitdiff
path: root/apps/plugins/doom/v_video.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-08 21:06:38 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-08 21:06:38 +0000
commit67f215032d8bab2571aad2da739d72512c064ca4 (patch)
treeb39689b5947f0522ca16fd79900906981951cd8f /apps/plugins/doom/v_video.c
parentab99e941dbf0481a1c0abb3767a745d23b53bfd2 (diff)
downloadrockbox-67f215032d8bab2571aad2da739d72512c064ca4.tar.gz
rockbox-67f215032d8bab2571aad2da739d72512c064ca4.zip
Fix a bunch of 'variable set but not used' warnings reported from GCC 4.6.0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29841 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/doom/v_video.c')
-rw-r--r--apps/plugins/doom/v_video.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/plugins/doom/v_video.c b/apps/plugins/doom/v_video.c
index 76993ea5ee..8c475614ff 100644
--- a/apps/plugins/doom/v_video.c
+++ b/apps/plugins/doom/v_video.c
@@ -525,12 +525,9 @@ void V_DrawMemPatch(int x, int y, int scrn, const patch_t *patch,
525 int DXI = (320<<16) / SCREENWIDTH; 525 int DXI = (320<<16) / SCREENWIDTH;
526 int DY = (SCREENHEIGHT<<16) / 200; 526 int DY = (SCREENHEIGHT<<16) / 200;
527 register int DYI = (200<<16) / SCREENHEIGHT; 527 register int DYI = (200<<16) / SCREENHEIGHT;
528 int DY2, DYI2;
529 528
530 stretchx = ( x * DX ) >> 16; 529 stretchx = ( x * DX ) >> 16;
531 stretchy = ( y * DY ) >> 16; 530 stretchy = ( y * DY ) >> 16;
532 DY2 = DY / 2;
533 DYI2 = DYI* 2;
534 531
535 if (!scrn) 532 if (!scrn)
536 V_MarkRect ( stretchx, stretchy, (SHORT( patch->width ) * DX ) >> 16, 533 V_MarkRect ( stretchx, stretchy, (SHORT( patch->width ) * DX ) >> 16,