From 9b6485b5cc5f005a547e8dd3e3d5a8b90838ed99 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Mon, 24 Dec 2012 18:33:24 +0000 Subject: Fix compiler warnings by removing variables that are set but not used. Subversion-branch: /branches/v2-branch Subversion-revision: 2555 --- src/strife/s_sound.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/strife/s_sound.c') 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; } -- cgit v1.2.3