summaryrefslogtreecommitdiff
path: root/Source/Android/jni/Input/CoreDevice.cpp
diff options
context:
space:
mode:
authorDentomologist <dentomologist@gmail.com>2025-10-29 16:19:15 -0700
committerDentomologist <dentomologist@gmail.com>2025-10-29 16:19:15 -0700
commit570ec7c322d9fb54b24d2becc7007a7420170596 (patch)
tree33bff50962f9b4067e5ac9bc3e20e75b61dd9132 /Source/Android/jni/Input/CoreDevice.cpp
parentf2e6cb4c29c510c6737f5cc158a055d6f3674536 (diff)
Android: Fix unused value warning
Remove "env, " from "return env, GetControlPointer..." since the left side of a comma operator has no effect. This was presumably a copy/paste error from the function above it.
Diffstat (limited to 'Source/Android/jni/Input/CoreDevice.cpp')
-rw-r--r--Source/Android/jni/Input/CoreDevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Android/jni/Input/CoreDevice.cpp b/Source/Android/jni/Input/CoreDevice.cpp
index 8d7984b5e3..4da29843d7 100644
--- a/Source/Android/jni/Input/CoreDevice.cpp
+++ b/Source/Android/jni/Input/CoreDevice.cpp
@@ -68,7 +68,7 @@ JNIEXPORT jdouble JNICALL
Java_org_dolphinemu_dolphinemu_features_input_model_CoreDevice_00024Control_getState(JNIEnv* env,
jobject obj)
{
- return env, GetControlPointer(env, obj)->ToInput()->GetState();
+ return GetControlPointer(env, obj)->ToInput()->GetState();
}
JNIEXPORT void JNICALL