diff options
Diffstat (limited to 'java/jni')
-rw-r--r-- | java/jni/direct_bt/DBTManager.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/jni/direct_bt/DBTManager.cxx b/java/jni/direct_bt/DBTManager.cxx index 4d4864a4..9f045d3b 100644 --- a/java/jni/direct_bt/DBTManager.cxx +++ b/java/jni/direct_bt/DBTManager.cxx @@ -69,7 +69,8 @@ jobject Java_direct_1bt_tinyb_DBTManager_getDefaultAdapterImpl(JNIEnv *env, jobj try { DBTManager *manager = getInstance<DBTManager>(env, obj); DBG_PRINT("Java_direct_1bt_tinyb_DBTManager_getDefaultAdapterImpl: Manager %s", manager->toString().c_str()); - int defAdapterIdx = manager->getDefaultAdapterIdx(); + (void) manager; + const int defAdapterIdx = 0; DBTAdapter * adapter = new DBTAdapter(defAdapterIdx); if( !adapter->isValid() ) { delete adapter; |