summaryrefslogtreecommitdiffstats
path: root/apps/plugins/midi
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-08 21:06:38 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-08 21:06:38 +0000
commit67f215032d8bab2571aad2da739d72512c064ca4 (patch)
treeb39689b5947f0522ca16fd79900906981951cd8f /apps/plugins/midi
parentab99e941dbf0481a1c0abb3767a745d23b53bfd2 (diff)
downloadrockbox-67f215032d8bab2571aad2da739d72512c064ca4.tar.gz
rockbox-67f215032d8bab2571aad2da739d72512c064ca4.zip
Fix a bunch of 'variable set but not used' warnings reported from GCC 4.6.0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29841 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/midi')
-rw-r--r--apps/plugins/midi/midiutil.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/plugins/midi/midiutil.c b/apps/plugins/midi/midiutil.c
index e10c593dc1..f960b72654 100644
--- a/apps/plugins/midi/midiutil.c
+++ b/apps/plugins/midi/midiutil.c
@@ -136,11 +136,10 @@ int midi_debug(const char *fmt, ...)
{
static int p_xtpt = 0;
char p_buf[50];
- bool ok;
va_list ap;
va_start(ap, fmt);
- ok = rb->vsnprintf(p_buf,sizeof(p_buf), fmt, ap);
+ rb->vsnprintf(p_buf,sizeof(p_buf), fmt, ap);
va_end(ap);
int i=0;