From 87c75d033e5185e4c12da3ea9fab4e5474ae23e0 Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Mon, 22 Apr 2019 11:36:14 -0700 Subject: [PATCH] pt 2 --- java/jni/com_zerotierone_sdk_Node.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/java/jni/com_zerotierone_sdk_Node.cpp b/java/jni/com_zerotierone_sdk_Node.cpp index 6fca220b0..6ddc35565 100644 --- a/java/jni/com_zerotierone_sdk_Node.cpp +++ b/java/jni/com_zerotierone_sdk_Node.cpp @@ -872,8 +872,6 @@ JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_node_1init( return resultObject; } - uint64_t nodeId = ZT_Node_address(node); - ZeroTier::Mutex::Lock lock(nodeMapMutex); ref->node = node; nodeMap.insert(std::make_pair(ref->id, ref));