diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-13 19:34:11 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-13 19:34:11 +0000 |
commit | d9098707f822686e49e2bf0c92cd90c27a86c446 (patch) | |
tree | 1f89f2a0ee518e0ef6d1e6e3adf70e3ab545e993 /apps/plugins/zxbox/zxvid_16bpp.c | |
parent | 2aa0759077ce43b75470eae5be32c102aeea12ce (diff) | |
download | rockbox-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.c | 2 |
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) | |||
54 | int y=0; | 54 | int y=0; |
55 | 55 | ||
56 | #if LCD_HEIGHT >= ZX_HEIGHT && LCD_WIDTH >= ZX_WIDTH | 56 | #if LCD_HEIGHT >= ZX_HEIGHT && LCD_WIDTH >= ZX_WIDTH |
57 | /* 'set but not used' | ||
57 | byte *scrptr; | 58 | byte *scrptr; |
58 | scrptr = (byte *) SPNM(image); | 59 | scrptr = (byte *) SPNM(image); |
60 | */ | ||
59 | frameb = rb->lcd_framebuffer; | 61 | frameb = rb->lcd_framebuffer; |
60 | for ( y = 0 ; y < HEIGHT*WIDTH; y++ ){ | 62 | for ( y = 0 ; y < HEIGHT*WIDTH; y++ ){ |
61 | frameb[y] = _16bpp_colors[(unsigned)sp_image[y]]; | 63 | frameb[y] = _16bpp_colors[(unsigned)sp_image[y]]; |