diff options
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r-- | OpenAL32/alSource.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index 68dffb64..af039859 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -54,12 +54,10 @@ static ALint GetSampleOffset(ALsource *Source); AL_API ALvoid AL_APIENTRY alGenSources(ALsizei n,ALuint *sources) { ALCcontext *Context; - ALCdevice *Device; Context = GetContextRef(); if(!Context) return; - Device = Context->Device; if(n < 0 || IsBadWritePtr((void*)sources, n * sizeof(ALuint))) alSetError(Context, AL_INVALID_VALUE); else |