aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-02-17 12:32:43 -0800
committerChris Robinson <[email protected]>2012-02-17 12:32:43 -0800
commitcc2cb1142bf42c5dc6d306e7aa7e794daae09972 (patch)
tree84558f4d2800085fc63dfa9b0bd0e7a8d63b60af /OpenAL32/alSource.c
parenteb8be88866d858d85842882f23defd82603eadd6 (diff)
Remove unused variables
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r--OpenAL32/alSource.c2
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