From 8592b9371adf5d9ee28acc515e2b99e2f1388b17 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 19 Jul 2014 20:46:41 -0700 Subject: Use the UNUSED macro instead of a void cast --- Alc/midi/soft.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Alc') diff --git a/Alc/midi/soft.c b/Alc/midi/soft.c index 7102ff7a..6566b411 100644 --- a/Alc/midi/soft.c +++ b/Alc/midi/soft.c @@ -48,9 +48,8 @@ static void SSynth_update(SSynth* UNUSED(self), ALCdevice* UNUSED(device)) } -static void SSynth_mixSamples(SSynth* UNUSED(self), ALuint UNUSED(SamplesToDo), ALfloat (*restrict DryBuffer)[BUFFERSIZE]) +static void SSynth_mixSamples(SSynth* UNUSED(self), ALuint UNUSED(SamplesToDo), ALfloatBUFFERSIZE *restrict UNUSED(DryBuffer)) { - (void)DryBuffer; } -- cgit v1.2.3