Fix another 'set but not used' warning.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29874 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andree Buschmann 2011-05-13 19:34:11 +00:00
parent 2aa0759077
commit d9098707f8

View file

@ -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]];