Removed unused constant

This commit is contained in:
Juha Heinanen
2024-05-03 10:36:03 +03:00
parent 7f13a2b120
commit 5515eb62e6
-1
View File
@@ -1123,7 +1123,6 @@ JNIEXPORT void JNICALL Java_com_tutpro_baresip_Api_ua_1hangup(
{ {
const uint16_t native_code = code; const uint16_t native_code = code;
const char *native_reason = (*env)->GetStringUTFChars(env, reason, 0); const char *native_reason = (*env)->GetStringUTFChars(env, reason, 0);
const int thread_check = re_thread_check(false);
LOGD("hanging up call %ld/%ld\n", (long)ua, (long)call); LOGD("hanging up call %ld/%ld\n", (long)ua, (long)call);
re_thread_enter(); re_thread_enter();
if (strlen(native_reason) == 0) if (strlen(native_reason) == 0)