diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2008-04-15 14:44:32 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2008-04-15 14:44:32 +0000 |
commit | 040b6cc654b90b09a71e5eae1749fe6f6f403cac (patch) | |
tree | c6385d679571b7a00c92a20696d3e04388a6c9b1 /firmware/sound.c | |
parent | c4a49c4e5f2013222c6c62d56c219fa26ecf9b76 (diff) | |
download | rockbox-040b6cc654b90b09a71e5eae1749fe6f6f403cac.tar.gz rockbox-040b6cc654b90b09a71e5eae1749fe6f6f403cac.zip |
Kill warnings that annoy me when building for Gigabeat S.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17120 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/sound.c')
-rw-r--r-- | firmware/sound.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/firmware/sound.c b/firmware/sound.c index 123675cbde..35c869c4af 100644 --- a/firmware/sound.c +++ b/firmware/sound.c | |||
@@ -412,6 +412,7 @@ void sound_set_volume(int value) | |||
412 | int tmp = (60 - value * 4) & 0xff; | 412 | int tmp = (60 - value * 4) & 0xff; |
413 | CODECVOL = tmp | (tmp << 8); | 413 | CODECVOL = tmp | (tmp << 8); |
414 | #endif | 414 | #endif |
415 | (void)value; | ||
415 | } | 416 | } |
416 | 417 | ||
417 | void sound_set_balance(int value) | 418 | void sound_set_balance(int value) |
@@ -429,8 +430,8 @@ void sound_set_balance(int value) | |||
429 | set_prescaled_volume(); | 430 | set_prescaled_volume(); |
430 | #elif CONFIG_CPU == PNX0101 | 431 | #elif CONFIG_CPU == PNX0101 |
431 | /* TODO: implement for iFP */ | 432 | /* TODO: implement for iFP */ |
432 | (void)value; | ||
433 | #endif | 433 | #endif |
434 | (void)value; | ||
434 | } | 435 | } |
435 | 436 | ||
436 | void sound_set_bass(int value) | 437 | void sound_set_bass(int value) |
@@ -459,8 +460,8 @@ void sound_set_bass(int value) | |||
459 | set_prescaled_volume(); | 460 | set_prescaled_volume(); |
460 | #elif CONFIG_CPU == PNX0101 | 461 | #elif CONFIG_CPU == PNX0101 |
461 | /* TODO: implement for iFP */ | 462 | /* TODO: implement for iFP */ |
462 | (void)value; | ||
463 | #endif | 463 | #endif |
464 | (void)value; | ||
464 | } | 465 | } |
465 | 466 | ||
466 | void sound_set_treble(int value) | 467 | void sound_set_treble(int value) |
@@ -489,8 +490,8 @@ void sound_set_treble(int value) | |||
489 | set_prescaled_volume(); | 490 | set_prescaled_volume(); |
490 | #elif CONFIG_CPU == PNX0101 | 491 | #elif CONFIG_CPU == PNX0101 |
491 | /* TODO: implement for iFP */ | 492 | /* TODO: implement for iFP */ |
493 | #endif | ||
492 | (void)value; | 494 | (void)value; |
493 | #endif | ||
494 | } | 495 | } |
495 | 496 | ||
496 | void sound_set_channels(int value) | 497 | void sound_set_channels(int value) |