diff options
author | Sven Gothel <[email protected]> | 2021-01-25 12:48:56 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2021-01-25 12:48:56 +0100 |
commit | 208a8ab9a604f68ce17c32263dda1897421240e8 (patch) | |
tree | f23d33cf9a34aa859c59ff6728d23b3ce7f89c4d /java_jni/jni/jau | |
parent | 151738e0ae7cb173f305951aa71e3a7fec579ea6 (diff) |
java_jni/jni/jau/UnixDynamicLinkerImpl_JNI.cxx: Avoid warning (-> Error)
Diffstat (limited to 'java_jni/jni/jau')
-rw-r--r-- | java_jni/jni/jau/UnixDynamicLinkerImpl_JNI.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java_jni/jni/jau/UnixDynamicLinkerImpl_JNI.cxx b/java_jni/jni/jau/UnixDynamicLinkerImpl_JNI.cxx index 9a7a57c..a9c55cb 100644 --- a/java_jni/jni/jau/UnixDynamicLinkerImpl_JNI.cxx +++ b/java_jni/jni/jau/UnixDynamicLinkerImpl_JNI.cxx @@ -60,7 +60,8 @@ Java_jau_sys_dl_UnixDynamicLinkerImpl_dlerror(JNIEnv *env, jclass _unused) { char * _res; _res = dlerror(); - if (_res == NULL) return NULL; return env->NewStringUTF(_res); + if (_res == NULL) return NULL; + return env->NewStringUTF(_res); } /* |