From 0942e2a0f71d809c1d7f2606cbddfa1d4beacb87 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Sat, 15 Oct 2011 19:35:02 +0000 Subject: Changed the FOR_NB_SCREENS macro to always be a for loop that declares its own loop variable. This removes the need to declare this variable in the outer scope. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30756 a1c6a512-1295-4272-9138-f99709370657 --- apps/debug_menu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'apps/debug_menu.c') diff --git a/apps/debug_menu.c b/apps/debug_menu.c index e96b8c553f..442bc8b162 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -293,7 +293,7 @@ static void dbg_audio_task(void) static bool dbg_buffering_thread(void) { int button; - int line, i; + int line; bool done = false; size_t bufused; size_t bufsize = pcmbuf_get_bufsize(); @@ -2120,7 +2120,6 @@ static const struct the_menu_item menuitems[] = { }; static int menu_action_callback(int btn, struct gui_synclist *lists) { - int i; if (btn == ACTION_STD_OK) { FOR_NB_SCREENS(i) -- cgit v1.2.3