Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Removed unused variables from C source files.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Apr 29, 2013
1 parent 9e82024 commit 6aab025
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions src/audio/android/SDL_androidaudio.c
Expand Up @@ -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");
Expand Down
2 changes: 0 additions & 2 deletions src/core/android/SDL_android.cpp
Expand Up @@ -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) {
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 6aab025

Please sign in to comment.