summaryrefslogtreecommitdiffstats
path: root/apps/plugins/zxbox/zxvid_16bpp.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-13 19:34:11 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-13 19:34:11 +0000
commitd9098707f822686e49e2bf0c92cd90c27a86c446 (patch)
tree1f89f2a0ee518e0ef6d1e6e3adf70e3ab545e993 /apps/plugins/zxbox/zxvid_16bpp.c
parent2aa0759077ce43b75470eae5be32c102aeea12ce (diff)
downloadrockbox-d9098707f822686e49e2bf0c92cd90c27a86c446.tar.gz
rockbox-d9098707f822686e49e2bf0c92cd90c27a86c446.zip
Fix another 'set but not used' warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29874 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/zxbox/zxvid_16bpp.c')
-rw-r--r--apps/plugins/zxbox/zxvid_16bpp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/zxbox/zxvid_16bpp.c b/apps/plugins/zxbox/zxvid_16bpp.c
index f213afe307..19ac0f2d5c 100644
--- a/apps/plugins/zxbox/zxvid_16bpp.c
+++ b/apps/plugins/zxbox/zxvid_16bpp.c
@@ -54,8 +54,10 @@ void update_screen(void)
int y=0;
#if LCD_HEIGHT >= ZX_HEIGHT && LCD_WIDTH >= ZX_WIDTH
+ /* 'set but not used'
byte *scrptr;
scrptr = (byte *) SPNM(image);
+ */
frameb = rb->lcd_framebuffer;
for ( y = 0 ; y < HEIGHT*WIDTH; y++ ){
frameb[y] = _16bpp_colors[(unsigned)sp_image[y]];