mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
Correct left-over assignment.
Also remove unnecessary NULL guard. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30723 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f86506675e
commit
42a33a7f70
1 changed files with 1 additions and 4 deletions
|
|
@ -82,9 +82,6 @@ static void list_init_viewports(struct gui_synclist *list)
|
||||||
{
|
{
|
||||||
int i, parent_used;
|
int i, parent_used;
|
||||||
|
|
||||||
if (!list)
|
|
||||||
return;
|
|
||||||
|
|
||||||
parent_used = (*list->parent != &parent[SCREEN_MAIN]);
|
parent_used = (*list->parent != &parent[SCREEN_MAIN]);
|
||||||
|
|
||||||
if (!parent_used)
|
if (!parent_used)
|
||||||
|
|
@ -99,7 +96,7 @@ static void list_init_viewports(struct gui_synclist *list)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
list->dirty_tick = false;
|
list->dirty_tick = current_tick;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static struct viewport parent[NB_SCREENS] =
|
static struct viewport parent[NB_SCREENS] =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue