avoid variable shadowing

master
Philippe Hausler 2012-08-25 15:27:20 -07:00
parent e05fc48629
commit f967eea5b7
2 changed files with 1 additions and 3 deletions

View File

@ -64,8 +64,7 @@ static void* thread_function(void* arg)
{
ALCdevice* device = (ALCdevice*)arg;
AndroidData* data = (AndroidData*)device->ExtraData;
JNIEnv* env;
(*javaVM)->AttachCurrentThread(javaVM, &env, NULL);
(*env)->PushLocalFrame(env, 2);

View File

@ -389,7 +389,6 @@ AL_API ALvoid AL_APIENTRY alBufferSubDataSOFT(ALuint buffer,ALenum format,const
if(Context->SampleSource)
{
ALintptrEXT offset;
if(Context->SampleSource->state == MAPPED)
{