diff options
author | Simon Howard | 2012-12-23 21:25:40 +0000 |
---|---|---|
committer | Simon Howard | 2012-12-23 21:25:40 +0000 |
commit | adbfa3216cf3ef6f71cc5b6b22c25a04ae737212 (patch) | |
tree | 65a0b4ddec8d685e90c96b02bd3d958bc619ee3c /src/s_sound.c | |
parent | 7b9cfe4a6145bf6d428cca5e4a7241f666c4a7d9 (diff) | |
download | chocolate-doom-adbfa3216cf3ef6f71cc5b6b22c25a04ae737212.tar.gz chocolate-doom-adbfa3216cf3ef6f71cc5b6b22c25a04ae737212.tar.bz2 chocolate-doom-adbfa3216cf3ef6f71cc5b6b22c25a04ae737212.zip |
Fix compiler warnings caused by unused variables.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2552
Diffstat (limited to 'src/s_sound.c')
-rw-r--r-- | src/s_sound.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/s_sound.c b/src/s_sound.c index 7ae7559a..27a47443 100644 --- a/src/s_sound.c +++ b/src/s_sound.c @@ -562,7 +562,6 @@ void S_StartSound(void *origin_p, int sfx_id) mobj_t *origin; int rc; int sep; - int priority; int cnum; int volume; @@ -580,7 +579,6 @@ void S_StartSound(void *origin_p, int sfx_id) // Initialize sound parameters if (sfx->link) { - priority = sfx->priority; volume += sfx->volume; if (volume < 1) @@ -592,10 +590,6 @@ void S_StartSound(void *origin_p, int sfx_id) { volume = snd_SfxVolume; } - } - else - { - priority = NORM_PRIORITY; } |