Android: Fixed two warnings about unused variables.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Wed, 21 Sep 2016 23:06:26 +0200
changeset 10358f46d780b6685
parent 10357 e9c3e64fdc84
child 10359 3806fd310e5b
Android: Fixed two warnings about unused variables.
src/core/android/SDL_android.c
     1.1 --- a/src/core/android/SDL_android.c	Sun Sep 18 19:22:09 2016 -0300
     1.2 +++ b/src/core/android/SDL_android.c	Wed Sep 21 23:06:26 2016 +0200
     1.3 @@ -718,10 +718,8 @@
     1.4      }
     1.5      #else
     1.6      if (captureBuffer16Bit) {
     1.7 -        const jint len = (*env)->GetArrayLength(env, (jshortArray)captureBuffer);
     1.8          (*env)->CallStaticIntMethod(env, mActivityClass, midCaptureReadShortBuffer, (jshortArray)captureBuffer, JNI_FALSE);
     1.9      } else {
    1.10 -        const jint len = (*env)->GetArrayLength(env, (jbyteArray)captureBuffer);
    1.11          (*env)->CallStaticIntMethod(env, mActivityClass, midCaptureReadByteBuffer, (jbyteArray)captureBuffer, JNI_FALSE);
    1.12      }
    1.13      #endif