Removed unused variables from C source files.

This commit is contained in:
Philipp Wiesemann 2013-04-29 23:54:22 +02:00
parent a4432d3cdf
commit f19e013294
2 changed files with 1 additions and 4 deletions

View file

@ -38,8 +38,7 @@ static int
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");

View file

@ -422,7 +422,6 @@ extern "C" int Android_JNI_OpenAudioDevice(int sampleRate, int is16Bit, int chan
{
int audioBufferFrames;
int status;
JNIEnv *env = Android_JNI_GetEnv();
if (!env) {
@ -496,7 +495,6 @@ extern "C" void Android_JNI_WriteAudioBuffer()
extern "C" void Android_JNI_CloseAudioDevice()
{
int status;
JNIEnv *env = Android_JNI_GetEnv();
env->CallStaticVoidMethod(mActivityClass, midAudioQuit);