summaryrefslogtreecommitdiffstats
path: root/apps/plugins/doom/i_sound.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/doom/i_sound.c')
-rw-r--r--apps/plugins/doom/i_sound.c15
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;
void I_PlaySong(int handle, int looping)
{
// UNUSED.
- handle = looping = 0;
+ (void)handle;
+ (void)looping;
musicdies = gametic + TICRATE*30;
}
void I_PauseSong (int handle)
{
// UNUSED.
- handle = 0;
+ (void)handle;
}
void I_ResumeSong (int handle)
{
// UNUSED.
- handle = 0;
+ (void)handle;
}
void I_StopSong(int handle)
{
// UNUSED.
- handle = 0;
+ (void)handle;
looping = 0;
musicdies = 0;
@@ -562,13 +563,13 @@ void I_StopSong(int handle)
void I_UnRegisterSong(int handle)
{
// UNUSED.
- handle = 0;
+ (void)handle;
}
int I_RegisterSong(const void *data)
{
// UNUSED.
- data = NULL;
+ (void)data;
return 1;
}
@@ -577,7 +578,7 @@ int I_RegisterSong(const void *data)
int I_QrySongPlaying(int handle)
{
// UNUSED.
- handle = 0;
+ (void)handle;
return looping || musicdies > gametic;
}