aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-07-01 22:52:06 -0700
committerChris Robinson <[email protected]>2014-07-01 22:52:06 -0700
commit347d8f94e83d02d34cd5932bcf331d7b3aa5d73e (patch)
tree1309300bd33a2c102220fd507e6994c543ecc81f
parent8b1b52a687f87e1507dc612d7e9ae899ea69a0c2 (diff)
Remove an unused variable
-rw-r--r--OpenAL32/alBuffer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/OpenAL32/alBuffer.c b/OpenAL32/alBuffer.c
index 9f12128e..d03f30a4 100644
--- a/OpenAL32/alBuffer.c
+++ b/OpenAL32/alBuffer.c
@@ -50,7 +50,6 @@ static ALboolean SanitizeAlignment(enum UserFmtType type, ALsizei *align);
AL_API ALvoid AL_APIENTRY alGenBuffers(ALsizei n, ALuint *buffers)
{
- ALCdevice *device;
ALCcontext *context;
ALsizei cur = 0;
@@ -60,7 +59,6 @@ AL_API ALvoid AL_APIENTRY alGenBuffers(ALsizei n, ALuint *buffers)
if(!(n >= 0))
SET_ERROR_AND_GOTO(context, AL_INVALID_VALUE, done);
- device = context->Device;
for(cur = 0;cur < n;cur++)
{
ALbuffer *buffer = NewBuffer(context);