Merge "NFC: Fix implicit fallthrough warning."
am: 30fc8829ed
Change-Id: I1837ef1eee710248fde3e7d7c7d9a5101de9a69a
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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: [
|
||||||
|
|||||||
Reference in New Issue
Block a user