summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2018-11-26 21:21:49 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-11-26 21:21:49 +0000
commita92b0265ecade9b90ef051798f177eefeead8b4e (patch)
tree8adbeeaaf0552ab8e57f9b8b4c5bf0ab446d9d2d
parenta61a969e2d32c175fca043a33dcc3af04ffa41f0 (diff)
parentd79209ceb8a9d41a4f1c194ed5f9cac111e52835 (diff)
Merge "C++17 compatibility: unreachable `return`."
-rw-r--r--runtime/gc/accounting/mod_union_table_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/gc/accounting/mod_union_table_test.cc b/runtime/gc/accounting/mod_union_table_test.cc
index b39628b1dc..e66a174587 100644
--- a/runtime/gc/accounting/mod_union_table_test.cc
+++ b/runtime/gc/accounting/mod_union_table_test.cc
@@ -162,9 +162,9 @@ ModUnionTable* ModUnionTableFactory::Create(
}
default: {
UNIMPLEMENTED(FATAL) << "Invalid type " << type;
+ UNREACHABLE();
}
}
- return nullptr;
}
TEST_F(ModUnionTableTest, TestCardCache) {