diff options
author | Thomas Martitz <kugel@rockbox.org> | 2011-11-08 22:34:35 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2011-11-08 22:34:35 +0000 |
commit | 354015ef287ff484bf8f8e345102d8c661983805 (patch) | |
tree | 31723d9f5729cd0608e11d1da08b929046db0b23 | |
parent | a102253cf2ffaac5d3d54c312d694864d8307b41 (diff) | |
download | rockbox-354015ef287ff484bf8f8e345102d8c661983805.tar.gz rockbox-354015ef287ff484bf8f8e345102d8c661983805.zip |
Fix warning on mrobe100.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30942 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/recorder/bmp.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/recorder/bmp.c b/apps/recorder/bmp.c index 819d2e6976..26be4e48cf 100644 --- a/apps/recorder/bmp.c +++ b/apps/recorder/bmp.c | |||
@@ -494,9 +494,6 @@ int read_bmp_fd(int fd, | |||
494 | defined(PLUGIN) | 494 | defined(PLUGIN) |
495 | bool dither = false; | 495 | bool dither = false; |
496 | #endif | 496 | #endif |
497 | #if (LCD_DEPTH > 1 || (defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1)) && \ | ||
498 | defined(HAVE_BMP_SCALING) || defined(PLUGIN) | ||
499 | unsigned int resize = IMG_NORESIZE; | ||
500 | 497 | ||
501 | #ifdef HAVE_REMOTE_LCD | 498 | #ifdef HAVE_REMOTE_LCD |
502 | bool remote = false; | 499 | bool remote = false; |
@@ -508,6 +505,10 @@ int read_bmp_fd(int fd, | |||
508 | } | 505 | } |
509 | #endif /* HAVE_REMOTE_LCD */ | 506 | #endif /* HAVE_REMOTE_LCD */ |
510 | 507 | ||
508 | #if (LCD_DEPTH > 1 || (defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1)) && \ | ||
509 | defined(HAVE_BMP_SCALING) || defined(PLUGIN) | ||
510 | unsigned int resize = IMG_NORESIZE; | ||
511 | |||
511 | if (format & FORMAT_RESIZE) { | 512 | if (format & FORMAT_RESIZE) { |
512 | resize = IMG_RESIZE; | 513 | resize = IMG_RESIZE; |
513 | } | 514 | } |