mirror of
https://github.com/LSPosed/LSPlant.git
synced 2025-05-04 20:42:02 +08:00
Missing return
This commit is contained in:
parent
0d144a0881
commit
3ce7b1d1a0
@ -1032,7 +1032,7 @@ class JObjectArrayElement {
|
||||
friend class ScopedLocalRef<jobjectArray>;
|
||||
|
||||
auto obtain() {
|
||||
if (i_ < 0 || i_ >= size_) ScopedLocalRef<jobject>{nullptr};
|
||||
if (i_ < 0 || i_ >= size_) return ScopedLocalRef<jobject>{nullptr};
|
||||
return JNI_SafeInvoke(env_, &JNIEnv::GetObjectArrayElement, array_, i_);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user