summaryrefslogtreecommitdiffstats
path: root/apps/recorder
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2011-06-12 22:17:45 +0000
committerNils Wallménius <nils@rockbox.org>2011-06-12 22:17:45 +0000
commit3b04a85245473a6e0f82ee479ef399bc8163a473 (patch)
treeeca1577767f683ed7451696043182d47ed973675 /apps/recorder
parent4e8bed2933dea6b6482d2b4b4d23bde4947055f9 (diff)
downloadrockbox-3b04a85245473a6e0f82ee479ef399bc8163a473.tar.gz
rockbox-3b04a85245473a6e0f82ee479ef399bc8163a473.tar.bz2
rockbox-3b04a85245473a6e0f82ee479ef399bc8163a473.zip
Remove a couple of dead inits and assignments found by the clang-static-analyzer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29996 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder')
-rw-r--r--apps/recorder/bmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/recorder/bmp.c b/apps/recorder/bmp.c
index 528ab3b81c..fc88709afa 100644
--- a/apps/recorder/bmp.c
+++ b/apps/recorder/bmp.c
@@ -206,7 +206,7 @@ static unsigned int read_part_line(struct bmp_args *ba)
uint8_t *ibuf;
struct uint8_rgb *buf = (struct uint8_rgb *)(ba->buf);
const struct uint8_rgb *palette = ba->palette;
- uint32_t component, data = data;
+ uint32_t component, data;
int ret;
int i, cols, len;