From e1439fa010c3e5d42d08978b8864e0407ae573dc Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Mon, 12 Oct 2009 18:47:33 +0000 Subject: fix yellow git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23135 a1c6a512-1295-4272-9138-f99709370657 --- apps/screens.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/screens.c b/apps/screens.c index 3e7018686f..3917f31a96 100644 --- a/apps/screens.c +++ b/apps/screens.c @@ -295,7 +295,6 @@ static void charging_display_info(bool animate) const int pox_y = 32; static unsigned phase = 3; unsigned i; - const char *s; #ifdef NEED_ATA_POWER_BATT_MEASURE if (ide_powered()) /* FM and V2 can only measure when ATA power is on */ @@ -311,6 +310,7 @@ static void charging_display_info(bool animate) #ifdef ARCHOS_RECORDER lcd_puts(0, 2, "Charge mode:"); + const char *s; if (charge_state == CHARGING) s = str(LANG_BATTERY_CHARGE); else if (charge_state == TOPOFF) -- cgit v1.2.3