diff options
Diffstat (limited to 'test/044-proxy/native_proxy.cc')
-rw-r--r-- | test/044-proxy/native_proxy.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/044-proxy/native_proxy.cc b/test/044-proxy/native_proxy.cc index f3178f9c2a..e86c5a8424 100644 --- a/test/044-proxy/native_proxy.cc +++ b/test/044-proxy/native_proxy.cc @@ -21,7 +21,7 @@ namespace art { extern "C" JNIEXPORT void JNICALL Java_NativeProxy_nativeCall( - JNIEnv* env, jclass clazz ATTRIBUTE_UNUSED, jobject inf_ref) { + JNIEnv* env, [[maybe_unused]] jclass clazz, jobject inf_ref) { jclass native_inf_class = env->FindClass("NativeInterface"); CHECK(native_inf_class != nullptr); jmethodID mid = env->GetMethodID(native_inf_class, "callback", "()V"); |