From 85588ea040da931db76c0ee34e47c06c2d72e226 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Wed, 21 Sep 2016 23:06:26 +0200 Subject: [PATCH] Android: Fixed two warnings about unused variables. --- src/core/android/SDL_android.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/core/android/SDL_android.c b/src/core/android/SDL_android.c index fcb0bc7b5770f..b93b16255168d 100644 --- a/src/core/android/SDL_android.c +++ b/src/core/android/SDL_android.c @@ -718,10 +718,8 @@ void Android_JNI_FlushCapturedAudio(void) } #else if (captureBuffer16Bit) { - const jint len = (*env)->GetArrayLength(env, (jshortArray)captureBuffer); (*env)->CallStaticIntMethod(env, mActivityClass, midCaptureReadShortBuffer, (jshortArray)captureBuffer, JNI_FALSE); } else { - const jint len = (*env)->GetArrayLength(env, (jbyteArray)captureBuffer); (*env)->CallStaticIntMethod(env, mActivityClass, midCaptureReadByteBuffer, (jbyteArray)captureBuffer, JNI_FALSE); } #endif