diff options
Diffstat (limited to 'runtime/jni/check_jni.cc')
-rw-r--r-- | runtime/jni/check_jni.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/runtime/jni/check_jni.cc b/runtime/jni/check_jni.cc index db4205cdf8..a05a3e97f2 100644 --- a/runtime/jni/check_jni.cc +++ b/runtime/jni/check_jni.cc @@ -853,8 +853,6 @@ class ScopedCheck { case kThrowable: what = "jthrowable"; break; - default: - LOG(FATAL) << "Unknown kind " << static_cast<int>(kind); } if (java_object == nullptr) { @@ -3303,9 +3301,6 @@ class CheckJNI { LOG(FATAL) << "Unexpected invoke: " << invoke; } break; - default: - LOG(FATAL) << "Unexpected return type: " << type; - result_check = nullptr; } if (sc.Check(soa, false, result_check, &result)) { return result; @@ -3489,9 +3484,6 @@ class CheckJNI { LOG(FATAL) << "Unexpected invoke: " << invoke; } break; - default: - LOG(FATAL) << "Unexpected return type: " << type; - result_check = nullptr; } if (sc.Check(soa, false, result_check, &result)) { return result; |