Removed unused variables from C source files.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Mon, 29 Apr 2013 23:54:22 +0200
changeset 713028df4f1a1712
parent 7129 538dd99173de
child 7131 70a7369c5b32
Removed unused variables from C source files.
src/audio/android/SDL_androidaudio.c
src/core/android/SDL_android.cpp
     1.1 --- a/src/audio/android/SDL_androidaudio.c	Mon Apr 29 23:50:27 2013 +0200
     1.2 +++ b/src/audio/android/SDL_androidaudio.c	Mon Apr 29 23:54:22 2013 +0200
     1.3 @@ -38,8 +38,7 @@
     1.4  AndroidAUD_OpenDevice(_THIS, const char *devname, int iscapture)
     1.5  {
     1.6      SDL_AudioFormat test_format;
     1.7 -    int valid_datatype = 0;
     1.8 -    
     1.9 +
    1.10      if (iscapture) {
    1.11      	//TODO: implement capture
    1.12      	return SDL_SetError("Capture not supported on Android");
     2.1 --- a/src/core/android/SDL_android.cpp	Mon Apr 29 23:50:27 2013 +0200
     2.2 +++ b/src/core/android/SDL_android.cpp	Mon Apr 29 23:54:22 2013 +0200
     2.3 @@ -422,7 +422,6 @@
     2.4  {
     2.5      int audioBufferFrames;
     2.6  
     2.7 -    int status;
     2.8      JNIEnv *env = Android_JNI_GetEnv();
     2.9  
    2.10      if (!env) {
    2.11 @@ -496,7 +495,6 @@
    2.12  
    2.13  extern "C" void Android_JNI_CloseAudioDevice()
    2.14  {
    2.15 -    int status;
    2.16      JNIEnv *env = Android_JNI_GetEnv();
    2.17  
    2.18      env->CallStaticVoidMethod(mActivityClass, midAudioQuit);