+ Compiling fix
authormotorsep <motorsep@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 26 May 2019 22:05:03 +0000 (22:05 +0000)
committermotorsep <motorsep@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 26 May 2019 22:05:03 +0000 (22:05 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12477 d7cf8633-e32d-0410-b094-e92efae38249

snd_mix.c

index 4ed38a8..f9748bd 100644 (file)
--- a/snd_mix.c
+++ b/snd_mix.c
@@ -128,6 +128,7 @@ static void S_SoftClipPaintBuffer(portable_sampleframe_t *painted_ptr, int nbfra
 static void S_ConvertPaintBuffer(portable_sampleframe_t *painted_ptr, void *rb_ptr, int nbframes, int width, int nchannels)
 {
        int i;
+       float val;
        if (width == 4)  // 32bit float
        {
                float *snd_out = (float*)rb_ptr;