diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-09-03 23:17:42 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-09-03 23:17:42 +0000 |
commit | e2186479d56762d097b943696423ad8588ca7f92 (patch) | |
tree | 833fb9909a1842e1eb216a695d7bc507855be4e5 /apps/plugins/mikmod/virtch_common.c | |
parent | 7887e596a99fcaf2198d624bfedf5e2ad97a49cd (diff) | |
download | rockbox-e2186479d56762d097b943696423ad8588ca7f92.tar.gz rockbox-e2186479d56762d097b943696423ad8588ca7f92.zip |
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
Diffstat (limited to 'apps/plugins/mikmod/virtch_common.c')
-rw-r--r-- | apps/plugins/mikmod/virtch_common.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) | |||
416 | 416 | ||
417 | ULONG VC1_SampleSpace(int type) | 417 | ULONG VC1_SampleSpace(int type) |
418 | { | 418 | { |
419 | (void)type; | ||
419 | return vc_memory; | 420 | return vc_memory; |
420 | } | 421 | } |
421 | 422 | ||
422 | ULONG VC1_SampleLength(int type,SAMPLE* s) | 423 | ULONG VC1_SampleLength(int type,SAMPLE* s) |
423 | { | 424 | { |
425 | (void)type; | ||
424 | if (!s) return 0; | 426 | if (!s) return 0; |
425 | 427 | ||
426 | return (s->length*((s->flags&SF_16BITS)?2:1))+16; | 428 | return (s->length*((s->flags&SF_16BITS)?2:1))+16; |