Remove an unused variable

This commit is contained in:
Chris Robinson
2014-07-01 22:52:06 -07:00
parent 8b1b52a687
commit 347d8f94e8
-2
View File
@@ -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);