fix ANDROID-51: fieldName is uninitialized

This commit is contained in:
Brenton Bostick 2023-01-31 11:33:34 -05:00
parent bfe4bc2894
commit 01003617cd
2 changed files with 24 additions and 1 deletions

View file

@ -170,8 +170,11 @@ jobject createEvent(JNIEnv *env, ZT_Event event)
fieldName = "EVENT_TRACE";
break;
case ZT_EVENT_USER_MESSAGE:
fieldName = "EVENT_USER_MESSAGE";
break;
case ZT_EVENT_REMOTE_TRACE:
fieldName = "EVENT_REMOTE_TRACE";
break;
default:
break;
}