summaryrefslogtreecommitdiff
path: root/src/strife/s_sound.c
diff options
context:
space:
mode:
authorSimon Howard2012-12-24 18:33:24 +0000
committerSimon Howard2012-12-24 18:33:24 +0000
commit9b6485b5cc5f005a547e8dd3e3d5a8b90838ed99 (patch)
tree3910167086dad2dd1e21b0ba87f0ed6dda5bc2eb /src/strife/s_sound.c
parent73fd9adc1e23f711d249d4adc2389711304bd027 (diff)
downloadchocolate-doom-9b6485b5cc5f005a547e8dd3e3d5a8b90838ed99.tar.gz
chocolate-doom-9b6485b5cc5f005a547e8dd3e3d5a8b90838ed99.tar.bz2
chocolate-doom-9b6485b5cc5f005a547e8dd3e3d5a8b90838ed99.zip
Fix compiler warnings by removing variables that are set but not used.
Subversion-branch: /branches/v2-branch Subversion-revision: 2555
Diffstat (limited to 'src/strife/s_sound.c')
-rw-r--r--src/strife/s_sound.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/strife/s_sound.c b/src/strife/s_sound.c
index 6318c205..ec59f3a6 100644
--- a/src/strife/s_sound.c
+++ b/src/strife/s_sound.c
@@ -412,7 +412,6 @@ void S_StartSound(void *origin_p, int sfx_id)
mobj_t *origin;
int rc;
int sep;
- int priority;
int cnum;
int volume;
@@ -434,7 +433,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)
@@ -446,10 +444,6 @@ void S_StartSound(void *origin_p, int sfx_id)
{
volume = snd_SfxVolume;
}
- }
- else
- {
- priority = NORM_PRIORITY;
}