From f58b009b7b31aca813092f104c84e91e7a8662b7 Mon Sep 17 00:00:00 2001 From: Christopher Ferris Date: Tue, 12 Sep 2023 13:01:10 -0700 Subject: [PATCH] Disable warning which is not detecting problems. A clang update enabled -Wreorder-init-list by default. Since it doesn't provide any benefit to the debuggerd code, disable the warning. Test: Builds without warnings. Change-Id: I75cfe064ba92c74312ba33f329b1364258eba06c --- debuggerd/Android.bp | 1 + 1 file changed, 1 insertion(+) diff --git a/debuggerd/Android.bp b/debuggerd/Android.bp index 5393e25e5..267571b50 100644 --- a/debuggerd/Android.bp +++ b/debuggerd/Android.bp @@ -12,6 +12,7 @@ cc_defaults { "-Wno-unused-argument", "-Wno-unused-function", "-Wno-nullability-completeness", + "-Wno-reorder-init-list", "-Os", "-fno-finite-loops", "-DANDROID_DEBUGGABLE=0",