Merge pull request #8677 from JosJuice/comma-operator

Android/JNI: Remove odd usage of the comma operator
This commit is contained in:
Léo Lam 2020-03-18 13:13:16 +01:00 committed by GitHub
commit 0b91ea28c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -134,13 +134,13 @@ JNIEXPORT jstring JNICALL Java_org_dolphinemu_dolphinemu_model_GameFile_getGameT
JNIEXPORT jint JNICALL Java_org_dolphinemu_dolphinemu_model_GameFile_getDiscNumber(JNIEnv* env, JNIEXPORT jint JNICALL Java_org_dolphinemu_dolphinemu_model_GameFile_getDiscNumber(JNIEnv* env,
jobject obj) jobject obj)
{ {
return env, GetRef(env, obj)->GetDiscNumber(); return GetRef(env, obj)->GetDiscNumber();
} }
JNIEXPORT jint JNICALL Java_org_dolphinemu_dolphinemu_model_GameFile_getRevision(JNIEnv* env, JNIEXPORT jint JNICALL Java_org_dolphinemu_dolphinemu_model_GameFile_getRevision(JNIEnv* env,
jobject obj) jobject obj)
{ {
return env, GetRef(env, obj)->GetRevision(); return GetRef(env, obj)->GetRevision();
} }
JNIEXPORT jintArray JNICALL Java_org_dolphinemu_dolphinemu_model_GameFile_getBanner(JNIEnv* env, JNIEXPORT jintArray JNICALL Java_org_dolphinemu_dolphinemu_model_GameFile_getBanner(JNIEnv* env,