From 386d838b8798766f2171b3d3d555033749a71afa Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Thu, 26 Apr 2007 14:02:10 +0000 Subject: [PATCH] fix player warning git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13273 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/stopwatch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/plugins/stopwatch.c b/apps/plugins/stopwatch.c index 6d4c4d6ac7..a2dd647e90 100644 --- a/apps/plugins/stopwatch.c +++ b/apps/plugins/stopwatch.c @@ -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);