Merge "NFC: Fix implicit fallthrough warning."

This commit is contained in:
Treehugger Robot
2019-05-09 21:00:32 +00:00
committed by Gerrit Code Review
2 changed files with 1 additions and 2 deletions

View File

@@ -301,6 +301,7 @@ int AaptLocaleValue::initFromDirName(const Vector<String8>& parts, const int sta
break; break;
} }
// This is not alphabetical, so we fall through to variant // This is not alphabetical, so we fall through to variant
[[fallthrough]];
case 5: case 5:
case 6: case 6:
case 7: case 7:

View File

@@ -71,8 +71,6 @@ cc_library_host_static {
cflags: [ cflags: [
"-Wno-format-y2k", "-Wno-format-y2k",
"-DSTATIC_ANDROIDFW_FOR_TOOLS", "-DSTATIC_ANDROIDFW_FOR_TOOLS",
// Allow implicit fallthroughs in AaptAssets.cpp until they are fixed.
"-Wno-error=implicit-fallthrough",
], ],
srcs: [ srcs: [