summaryrefslogtreecommitdiffstats
path: root/apps/recorder
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-01 11:42:41 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-01 11:42:41 +0000
commite75018ad66658c968b50767847ea1ed5408897ba (patch)
tree83096f55f8d89521e8938ac355722579abff72df /apps/recorder
parent5e57edf2632eb69b0749a9af984fa399a487bec4 (diff)
downloadrockbox-e75018ad66658c968b50767847ea1ed5408897ba.tar.gz
rockbox-e75018ad66658c968b50767847ea1ed5408897ba.tar.bz2
rockbox-e75018ad66658c968b50767847ea1ed5408897ba.zip
Fix several 'variable set but not used' warnings reported from GCC 4.6.0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29805 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder')
-rw-r--r--apps/recorder/bmp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/recorder/bmp.c b/apps/recorder/bmp.c
index 81ed8bc73b..528ab3b81c 100644
--- a/apps/recorder/bmp.c
+++ b/apps/recorder/bmp.c
@@ -492,7 +492,6 @@ int read_bmp_fd(int fd,
#if (LCD_DEPTH > 1 || (defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1)) && \
defined(HAVE_BMP_SCALING) || defined(PLUGIN)
unsigned int resize = IMG_NORESIZE;
- bool transparent = false;
#ifdef HAVE_REMOTE_LCD
bool remote = false;
@@ -508,9 +507,6 @@ int read_bmp_fd(int fd,
resize = IMG_RESIZE;
}
- if (format & FORMAT_TRANSPARENT) {
- transparent = true;
- }
#else
(void)format;