1
0
Fork 0
forked from len0rd/rockbox

this should be the last of the warnings

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26643 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2010-06-07 04:00:39 +00:00
parent 32455131e7
commit 4e0b47cb4e

View file

@ -379,9 +379,9 @@ void viewport_set_defaults(struct viewport *vp,
int get_viewport_default_colour(enum screen_type screen, bool fgcolour)
{
(void)screen;
int colour;
(void)screen; (void)fbcolour;
#if (LCD_DEPTH > 1) || (defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1)
int colour;
if (fgcolour)
{
#if (defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1)
@ -408,8 +408,10 @@ int get_viewport_default_colour(enum screen_type screen, bool fgcolour)
colour = BG_FALLBACK;
#endif
}
#endif /* LCD_DEPTH > 1 || LCD_REMOTE_DEPTH > 1 */
return colour;
#else
return 0;
#endif /* LCD_DEPTH > 1 || LCD_REMOTE_DEPTH > 1 */
}
const char* viewport_parse_viewport(struct viewport *vp,