From 29f04cc9860a032a9182e77d02679c4faa6ec148 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Sat, 3 Sep 2011 11:04:41 +0000 Subject: 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 --- apps/recorder/bmp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/recorder') 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 -- cgit