Removed unused variables from C source files.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Mon, 29 Apr 2013 23:54:22 +0200
changeset 7130 28df4f1a1712
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
--- a/src/audio/android/SDL_androidaudio.c	Mon Apr 29 23:50:27 2013 +0200
+++ b/src/audio/android/SDL_androidaudio.c	Mon Apr 29 23:54:22 2013 +0200
@@ -38,8 +38,7 @@
 AndroidAUD_OpenDevice(_THIS, const char *devname, int iscapture)
 {
     SDL_AudioFormat test_format;
-    int valid_datatype = 0;
-    
+
     if (iscapture) {
     	//TODO: implement capture
     	return SDL_SetError("Capture not supported on Android");
--- a/src/core/android/SDL_android.cpp	Mon Apr 29 23:50:27 2013 +0200
+++ b/src/core/android/SDL_android.cpp	Mon Apr 29 23:54:22 2013 +0200
@@ -422,7 +422,6 @@
 {
     int audioBufferFrames;
 
-    int status;
     JNIEnv *env = Android_JNI_GetEnv();
 
     if (!env) {
@@ -496,7 +495,6 @@
 
 extern "C" void Android_JNI_CloseAudioDevice()
 {
-    int status;
     JNIEnv *env = Android_JNI_GetEnv();
 
     env->CallStaticVoidMethod(mActivityClass, midAudioQuit);