From 347d8f94e83d02d34cd5932bcf331d7b3aa5d73e Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 1 Jul 2014 22:52:06 -0700 Subject: Remove an unused variable --- OpenAL32/alBuffer.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'OpenAL32') 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); -- cgit v1.2.3