fix player warning

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13273 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2007-04-26 14:02:10 +00:00
parent 09467f8170
commit 386d838b87

View file

@ -179,12 +179,13 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
int lap;
int done = false;
bool update_lap = true;
int lines, h;
int lines;
(void)parameter;
rb = api;
#ifdef HAVE_LCD_BITMAP
int h;
rb->lcd_setfont(FONT_UI);
rb->lcd_getstringsize("M", NULL, &h);
lines = (LCD_HEIGHT / h) - (LAP_Y);