1
0
Fork 0
forked from len0rd/rockbox

Remove several 'set but not used' GCC 4.6.1 warnings from MikMod.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30426 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andree Buschmann 2011-09-03 23:54:43 +00:00
parent bd9c172b9e
commit 6cb5ec1bfe
4 changed files with 9 additions and 11 deletions

View file

@ -115,11 +115,11 @@ void mmsupp_printf(const char *fmt, ...)
{
static int p_xtpt = 0;
char p_buf[LINE_LENGTH];
bool ok;
/* bool ok; */
va_list ap;
va_start(ap, fmt);
ok = rb->vsnprintf(p_buf, sizeof(p_buf), fmt, ap);
/* ok = */ (void)rb->vsnprintf(p_buf, sizeof(p_buf), fmt, ap);
va_end(ap);
int i=0;