aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alBuffer.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/alBuffer.c
parent44172f701c0842fc1a31bfa93b617b361a6d3618 (diff)
Use an UNUSED macro instead of void-tagging unused parameters
Diffstat (limited to 'OpenAL32/alBuffer.c')
-rw-r--r--OpenAL32/alBuffer.c20
1 files changed, 4 insertions, 16 deletions
diff --git a/OpenAL32/alBuffer.c b/OpenAL32/alBuffer.c
index 02c20fb4..fa02582a 100644
--- a/OpenAL32/alBuffer.c
+++ b/OpenAL32/alBuffer.c
@@ -602,13 +602,11 @@ AL_API ALboolean AL_APIENTRY alIsBufferFormatSupportedSOFT(ALenum format)
}
-AL_API void AL_APIENTRY alBufferf(ALuint buffer, ALenum param, ALfloat value)
+AL_API void AL_APIENTRY alBufferf(ALuint buffer, ALenum param, ALfloat UNUSED(value))
{
ALCdevice *device;
ALCcontext *context;
- (void)value;
-
context = GetContextRef();
if(!context) return;
@@ -627,15 +625,11 @@ done:
}
-AL_API void AL_APIENTRY alBuffer3f(ALuint buffer, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)
+AL_API void AL_APIENTRY alBuffer3f(ALuint buffer, ALenum param, ALfloat UNUSED(value1), ALfloat UNUSED(value2), ALfloat UNUSED(value3))
{
ALCdevice *device;
ALCcontext *context;
- (void)value1;
- (void)value2;
- (void)value3;
-
context = GetContextRef();
if(!context) return;
@@ -679,13 +673,11 @@ done:
}
-AL_API void AL_APIENTRY alBufferi(ALuint buffer, ALenum param, ALint value)
+AL_API void AL_APIENTRY alBufferi(ALuint buffer, ALenum param, ALint UNUSED(value))
{
ALCdevice *device;
ALCcontext *context;
- (void)value;
-
context = GetContextRef();
if(!context) return;
@@ -704,15 +696,11 @@ done:
}
-AL_API void AL_APIENTRY alBuffer3i(ALuint buffer, ALenum param, ALint value1, ALint value2, ALint value3)
+AL_API void AL_APIENTRY alBuffer3i(ALuint buffer, ALenum param, ALint UNUSED(value1), ALint UNUSED(value2), ALint UNUSED(value3))
{
ALCdevice *device;
ALCcontext *context;
- (void)value1;
- (void)value2;
- (void)value3;
-
context = GetContextRef();
if(!context) return;