aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/modulator.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/modulator.c
parent32e85d469b735260d827d50a6d37c0937d375914 (diff)
Use the UNUSED macro in the effects
Diffstat (limited to 'Alc/effects/modulator.c')
-rw-r--r--Alc/effects/modulator.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/Alc/effects/modulator.c b/Alc/effects/modulator.c
index b71070f5..2a3049d9 100644
--- a/Alc/effects/modulator.c
+++ b/Alc/effects/modulator.c
@@ -121,16 +121,13 @@ DECL_TEMPLATE(Square)
#undef DECL_TEMPLATE
-static ALvoid ALmodulatorState_Destruct(ALmodulatorState *state)
+static ALvoid ALmodulatorState_Destruct(ALmodulatorState *UNUSED(state))
{
- (void)state;
}
-static ALboolean ALmodulatorState_deviceUpdate(ALmodulatorState *state, ALCdevice *Device)
+static ALboolean ALmodulatorState_deviceUpdate(ALmodulatorState *UNUSED(state), ALCdevice *UNUSED(device))
{
return AL_TRUE;
- (void)state;
- (void)Device;
}
static ALvoid ALmodulatorState_update(ALmodulatorState *state, ALCdevice *Device, const ALeffectslot *Slot)
@@ -190,10 +187,9 @@ static void ALmodulatorState_Delete(ALmodulatorState *state)
DEFINE_ALEFFECTSTATE_VTABLE(ALmodulatorState);
-static ALeffectState *ALmodulatorStateFactory_create(ALmodulatorStateFactory *factory)
+static ALeffectState *ALmodulatorStateFactory_create(ALmodulatorStateFactory *UNUSED(factory))
{
ALmodulatorState *state;
- (void)factory;
state = malloc(sizeof(*state));
if(!state) return NULL;