diff options
| author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-09-03 23:54:43 +0000 |
|---|---|---|
| committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-09-03 23:54:43 +0000 |
| commit | 6cb5ec1bfef3ca621a1de8e3f7dda0f333407961 (patch) | |
| tree | bffdc904dc164b364e5e2d8be6e5e006806d98e7 /apps/plugins/mikmod/mikmod.c | |
| parent | bd9c172b9eba76f22987096662467917abdc6b85 (diff) | |
| download | rockbox-6cb5ec1bfef3ca621a1de8e3f7dda0f333407961.zip rockbox-6cb5ec1bfef3ca621a1de8e3f7dda0f333407961.tar.gz rockbox-6cb5ec1bfef3ca621a1de8e3f7dda0f333407961.tar.bz2 rockbox-6cb5ec1bfef3ca621a1de8e3f7dda0f333407961.tar.xz | |
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
Diffstat (limited to 'apps/plugins/mikmod/mikmod.c')
| -rw-r--r-- | apps/plugins/mikmod/mikmod.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/mikmod/mikmod.c b/apps/plugins/mikmod/mikmod.c index 63d575a9..5f19b43 100644 --- a/apps/plugins/mikmod/mikmod.c +++ b/apps/plugins/mikmod/mikmod.c @@ -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; |