Fix warning on mrobe100.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30942 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a102253cf2
commit
354015ef28
1 changed files with 4 additions and 3 deletions
|
@ -494,9 +494,6 @@ int read_bmp_fd(int fd,
|
|||
defined(PLUGIN)
|
||||
bool dither = false;
|
||||
#endif
|
||||
#if (LCD_DEPTH > 1 || (defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1)) && \
|
||||
defined(HAVE_BMP_SCALING) || defined(PLUGIN)
|
||||
unsigned int resize = IMG_NORESIZE;
|
||||
|
||||
#ifdef HAVE_REMOTE_LCD
|
||||
bool remote = false;
|
||||
|
@ -508,6 +505,10 @@ int read_bmp_fd(int fd,
|
|||
}
|
||||
#endif /* HAVE_REMOTE_LCD */
|
||||
|
||||
#if (LCD_DEPTH > 1 || (defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1)) && \
|
||||
defined(HAVE_BMP_SCALING) || defined(PLUGIN)
|
||||
unsigned int resize = IMG_NORESIZE;
|
||||
|
||||
if (format & FORMAT_RESIZE) {
|
||||
resize = IMG_RESIZE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue