From a5a2dc0f6a321af198bf65a15e97026e5099286a Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Thu, 6 Sep 2018 11:32:24 -0700 Subject: Suppress more -Wimplicit-fallthrough. -Wimplicit-fallthrough will be enabled globally. Test: build with global -Wimplicit-fallthrough. Change-Id: I445f9cd14a0b13ab603f269cf734e306b26c3dfb --- Android.bp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Android.bp b/Android.bp index bfa63b0750..051e18eca7 100644 --- a/Android.bp +++ b/Android.bp @@ -54,6 +54,10 @@ cc_defaults { "-Wall", "-Werror", "-Wno-deprecated-declarations", + "-Wno-implicit-fallthrough", + // memory_mapped_file.cc:80, json_parser.cc:264, + // sys_string_conversions_posix.cc:122, and + // icu_utf.cc:161,165 have -Wno-implicit-fallthrough. "-Wno-missing-field-initializers", "-Wno-unused-parameter", ], @@ -87,10 +91,6 @@ cc_defaults { clang_cflags: [ // Temporarily suppress the warnings http://b/38232827 "-Wno-error=unused-lambda-capture", - "-Wno-implicit-fallthrough", - // memory_mapped_file.cc:80, json_parser.cc:264, - // sys_string_conversions_posix.cc:122, and - // icu_utf.cc:161,165 have -Wno-implicit-fallthrough. ], } -- cgit v1.2.3