1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Andree Buschmann 2011-05-08 21:06:38 +00:00
parent ab99e941db
commit 67f215032d
18 changed files with 54 additions and 55 deletions

View file

@ -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;