forked from len0rd/rockbox
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
This commit is contained in:
parent
f301ac05f9
commit
0942e2a0f7
59 changed files with 47 additions and 143 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue