summaryrefslogtreecommitdiffstats
path: root/Alc/effects/chorus.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-10-07 08:34:54 -0700
committerChris Robinson <[email protected]>2013-10-07 08:34:54 -0700
commit997f6228ded27f868ffa9ca99dd544d559a92cf5 (patch)
tree8ca22515738b762d087dc29fae45ab72af6ce98b /Alc/effects/chorus.c
parent32e85d469b735260d827d50a6d37c0937d375914 (diff)
Use the UNUSED macro in the effects
Diffstat (limited to 'Alc/effects/chorus.c')
-rw-r--r--Alc/effects/chorus.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Alc/effects/chorus.c b/Alc/effects/chorus.c
index 8fc82a7f..9e889847 100644
--- a/Alc/effects/chorus.c
+++ b/Alc/effects/chorus.c
@@ -244,10 +244,9 @@ static void ALchorusState_Delete(ALchorusState *state)
DEFINE_ALEFFECTSTATE_VTABLE(ALchorusState);
-static ALeffectState *ALchorusStateFactory_create(ALchorusStateFactory *factory)
+static ALeffectState *ALchorusStateFactory_create(ALchorusStateFactory *UNUSED(factory))
{
ALchorusState *state;
- (void)factory;
state = malloc(sizeof(*state));
if(!state) return NULL;