summaryrefslogtreecommitdiffstats
path: root/apps/recorder
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-06-21 00:49:05 +0200
committerThomas Martitz <kugel@rockbox.org>2014-06-21 00:49:05 +0200
commit8f6c779ff6b1c738e13ba32da8dfb736b8df4abd (patch)
tree238c7bd23c5a4942a00949cb12bb148a74d647e3 /apps/recorder
parentdbb76896ec5a7d698bed16bb218ae8df51b3d961 (diff)
downloadrockbox-8f6c779ff6b1c738e13ba32da8dfb736b8df4abd.tar.gz
rockbox-8f6c779ff6b1c738e13ba32da8dfb736b8df4abd.tar.bz2
rockbox-8f6c779ff6b1c738e13ba32da8dfb736b8df4abd.zip
Fix some build errors and warnings.
Change-Id: I149c00fc6ba47d5134ad4f74c364bffd24079824
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 a9cc34b2c6..8d49fd7582 100644
--- a/apps/recorder/bmp.c
+++ b/apps/recorder/bmp.c
@@ -600,9 +600,7 @@ int read_bmp_fd(int fd,
resize &= ~IMG_RESIZE;
resize |= IMG_NORESIZE;
#endif
-#ifdef HAVE_REMOTE_LCD
remote = false;
-#endif
}
#elif !defined(PLUGIN)
if (src_dim.width > BM_MAX_WIDTH)
@@ -652,9 +650,7 @@ int read_bmp_fd(int fd,
totalsize = cformat->get_size(bm);
else {
totalsize = BM_SIZE(bm->width,bm->height,format,remote);
-#ifdef HAVE_REMOTE_LCD
if (!remote)
-#endif
if (depth == 32 && read_alpha) /* account for possible 4bit alpha per pixel */
totalsize += alphasize;
}