aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alListener.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-10-07 07:44:09 -0700
committerChris Robinson <[email protected]>2013-10-07 07:44:09 -0700
commit1518895e15262deade1b03e29b47a3d149f73c83 (patch)
tree0c3399a3edd858efd10c154753cdedb9fde128c0 /OpenAL32/alListener.c
parent44172f701c0842fc1a31bfa93b617b361a6d3618 (diff)
Use an UNUSED macro instead of void-tagging unused parameters
Diffstat (limited to 'OpenAL32/alListener.c')
-rw-r--r--OpenAL32/alListener.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenAL32/alListener.c b/OpenAL32/alListener.c
index 682acbb5..246c422f 100644
--- a/OpenAL32/alListener.c
+++ b/OpenAL32/alListener.c
@@ -159,12 +159,10 @@ AL_API ALvoid AL_APIENTRY alListenerfv(ALenum param, const ALfloat *values)
}
-AL_API ALvoid AL_APIENTRY alListeneri(ALenum param, ALint value)
+AL_API ALvoid AL_APIENTRY alListeneri(ALenum param, ALint UNUSED(value))
{
ALCcontext *Context;
- (void)value;
-
Context = GetContextRef();
if(!Context) return;