From 208a8ab9a604f68ce17c32263dda1897421240e8 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 25 Jan 2021 12:48:56 +0100 Subject: java_jni/jni/jau/UnixDynamicLinkerImpl_JNI.cxx: Avoid warning (-> Error) --- java_jni/jni/jau/UnixDynamicLinkerImpl_JNI.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'java_jni') 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); } /* -- cgit v1.2.3