summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-09-03 11:04:41 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-09-03 11:04:41 +0000
commit29f04cc9860a032a9182e77d02679c4faa6ec148 (patch)
tree0c2a1c3b0fb743cad33a1992e4ee5c04bad5e91e /apps
parent1b94cbc1efbcb55977d29cadc78e6beff01e9518 (diff)
downloadrockbox-29f04cc9860a032a9182e77d02679c4faa6ec148.tar.gz
rockbox-29f04cc9860a032a9182e77d02679c4faa6ec148.tar.bz2
rockbox-29f04cc9860a032a9182e77d02679c4faa6ec148.zip
Roll back r30416. A proper fix of this warning will end in an #ifdef-hell.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30417 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/recorder/bmp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/recorder/bmp.c b/apps/recorder/bmp.c
index 9214422bf0..d6f61d1c87 100644
--- a/apps/recorder/bmp.c
+++ b/apps/recorder/bmp.c
@@ -494,7 +494,9 @@ int read_bmp_fd(int fd,
unsigned int resize = IMG_NORESIZE;
#ifdef HAVE_REMOTE_LCD
+ bool remote = false;
if (format & FORMAT_REMOTE) {
+ remote = true;
#if LCD_REMOTE_DEPTH == 1
format = FORMAT_MONO;
#endif