summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-07-02 08:51:43 +0200
committerSven Gothel <[email protected]>2020-07-02 08:51:43 +0200
commit5274ba17c0fc06d79e53b20d00149a7ce068dd1f (patch)
treecfe267195b6e00cf48187a3343613b8db47ae93d
parent102adbac329d96b91ca90ef7a55bef870db8f139 (diff)
DBTAdapter_removeStatusListener (JNI): No complaint for unused statusListener (remove @ takedown)
-rw-r--r--java/jni/direct_bt/DBTAdapter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/jni/direct_bt/DBTAdapter.cxx b/java/jni/direct_bt/DBTAdapter.cxx
index 734b2276..b98ce735 100644
--- a/java/jni/direct_bt/DBTAdapter.cxx
+++ b/java/jni/direct_bt/DBTAdapter.cxx
@@ -407,7 +407,7 @@ jboolean Java_direct_1bt_tinyb_DBTAdapter_removeStatusListener(JNIEnv *env, jobj
const JNIAdapterStatusListener * pre =
getObjectRef<JNIAdapterStatusListener>(env, statusListener, "nativeInstance");
if( nullptr == pre ) {
- WARN_PRINT("statusListener's nativeInstance is null, not in use");
+ DBG_PRINT("statusListener's nativeInstance is null, not in use");
return false;
}
setObjectRef<JNIAdapterStatusListener>(env, statusListener, nullptr, "nativeInstance");