From e2186479d56762d097b943696423ad8588ca7f92 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Sat, 3 Sep 2011 23:17:42 +0000 Subject: FS#12259: Remove '-w' compiler option for MikMod. Resolve all yet unreported compiler warnings and fix a bug in load_gt2. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30424 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/mikmod/virtch_common.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/plugins/mikmod/virtch_common.c') diff --git a/apps/plugins/mikmod/virtch_common.c b/apps/plugins/mikmod/virtch_common.c index 522f4509f0..e13f6d1c51 100644 --- a/apps/plugins/mikmod/virtch_common.c +++ b/apps/plugins/mikmod/virtch_common.c @@ -416,11 +416,13 @@ SWORD VC1_SampleLoad(struct SAMPLOAD* sload,int type) ULONG VC1_SampleSpace(int type) { + (void)type; return vc_memory; } ULONG VC1_SampleLength(int type,SAMPLE* s) { + (void)type; if (!s) return 0; return (s->length*((s->flags&SF_16BITS)?2:1))+16; -- cgit v1.2.3