From 66b94ce67b1f3ba2ec0d3e39580d535874f896f1 Mon Sep 17 00:00:00 2001 From: Eric House Date: Tue, 10 May 2022 20:45:36 -0700 Subject: [PATCH] more cleanup --- xwords4/android/jni/xwjni.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/xwords4/android/jni/xwjni.c b/xwords4/android/jni/xwjni.c index c1e6bf565..f57b18972 100644 --- a/xwords4/android/jni/xwjni.c +++ b/xwords4/android/jni/xwjni.c @@ -967,13 +967,7 @@ Java_org_eehouse_android_xw4_jni_XwJNI_comms_1getInitialAddr ( JNIEnv* env, jclass C ) { CommsAddrRec addr; -#ifdef XWFEATURE_RELAY - const char* chars = (*env)->GetStringUTFChars( env, jname, NULL ); - comms_getInitialAddr( &addr, chars, port ); - (*env)->ReleaseStringUTFChars( env, jname, chars ); -#else comms_getInitialAddr( &addr ); -#endif jobject jaddr = makeObjectEmptyConst( env, PKG_PATH("jni/CommsAddrRec") ); setJAddrRec( env, jaddr, &addr ); return jaddr;