diff --git a/core/jni/android_util_Binder.cpp b/core/jni/android_util_Binder.cpp index b3703b4ded958..875ae36803407 100644 --- a/core/jni/android_util_Binder.cpp +++ b/core/jni/android_util_Binder.cpp @@ -200,7 +200,6 @@ static void report_exception(JNIEnv* env, jthrowable excep, const char* msg) * that can be made while an exception is pending, so we want to * get the VM ptr, throw the exception, and then detach the thread. */ - JavaVM* vm = jnienv_to_javavm(env); env->Throw(excep); env->ExceptionDescribe(); ALOGE("Forcefully exiting");