From d9098707f822686e49e2bf0c92cd90c27a86c446 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Fri, 13 May 2011 19:34:11 +0000 Subject: [PATCH] Fix another 'set but not used' warning. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29874 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/zxbox/zxvid_16bpp.c | 2 ++ 1 file changed, 2 insertions(+) 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]];