diff options
Diffstat (limited to 'apps/plugins/doom/i_sound.c')
-rw-r--r-- | apps/plugins/doom/i_sound.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/apps/plugins/doom/i_sound.c b/apps/plugins/doom/i_sound.c index 35cecd8abb..2d7b592818 100644 --- a/apps/plugins/doom/i_sound.c +++ b/apps/plugins/doom/i_sound.c | |||
@@ -534,26 +534,27 @@ static int musicdies=-1; | |||
534 | void I_PlaySong(int handle, int looping) | 534 | void I_PlaySong(int handle, int looping) |
535 | { | 535 | { |
536 | // UNUSED. | 536 | // UNUSED. |
537 | handle = looping = 0; | 537 | (void)handle; |
538 | (void)looping; | ||
538 | musicdies = gametic + TICRATE*30; | 539 | musicdies = gametic + TICRATE*30; |
539 | } | 540 | } |
540 | 541 | ||
541 | void I_PauseSong (int handle) | 542 | void I_PauseSong (int handle) |
542 | { | 543 | { |
543 | // UNUSED. | 544 | // UNUSED. |
544 | handle = 0; | 545 | (void)handle; |
545 | } | 546 | } |
546 | 547 | ||
547 | void I_ResumeSong (int handle) | 548 | void I_ResumeSong (int handle) |
548 | { | 549 | { |
549 | // UNUSED. | 550 | // UNUSED. |
550 | handle = 0; | 551 | (void)handle; |
551 | } | 552 | } |
552 | 553 | ||
553 | void I_StopSong(int handle) | 554 | void I_StopSong(int handle) |
554 | { | 555 | { |
555 | // UNUSED. | 556 | // UNUSED. |
556 | handle = 0; | 557 | (void)handle; |
557 | 558 | ||
558 | looping = 0; | 559 | looping = 0; |
559 | musicdies = 0; | 560 | musicdies = 0; |
@@ -562,13 +563,13 @@ void I_StopSong(int handle) | |||
562 | void I_UnRegisterSong(int handle) | 563 | void I_UnRegisterSong(int handle) |
563 | { | 564 | { |
564 | // UNUSED. | 565 | // UNUSED. |
565 | handle = 0; | 566 | (void)handle; |
566 | } | 567 | } |
567 | 568 | ||
568 | int I_RegisterSong(const void *data) | 569 | int I_RegisterSong(const void *data) |
569 | { | 570 | { |
570 | // UNUSED. | 571 | // UNUSED. |
571 | data = NULL; | 572 | (void)data; |
572 | 573 | ||
573 | return 1; | 574 | return 1; |
574 | } | 575 | } |
@@ -577,7 +578,7 @@ int I_RegisterSong(const void *data) | |||
577 | int I_QrySongPlaying(int handle) | 578 | int I_QrySongPlaying(int handle) |
578 | { | 579 | { |
579 | // UNUSED. | 580 | // UNUSED. |
580 | handle = 0; | 581 | (void)handle; |
581 | return looping || musicdies > gametic; | 582 | return looping || musicdies > gametic; |
582 | } | 583 | } |
583 | 584 | ||