From 4960ef301abb1bba83c5a51c3d53dc91ebb3c502 Mon Sep 17 00:00:00 2001 From: Justin Chadwell Date: Wed, 18 Sep 2019 14:36:06 +0100 Subject: [PATCH] Remove -Wunused-const-variable warning -Wunused-const-variable=1 is already included by -Wunused-variable, which is part of -Wall. -Wunused-const-variable=2, which is what we have been using as part of W=1, warns for unused static const variables in headers, which will likely produce a lot of false positives that will take a large effort to fix. Additionally, some of these issues may be caused by different builds of TF-A where some features are used in some builds and ignored in others. Change-Id: Ifa0b16a75344cc1f6240e8d5745005f8f2046d34 Signed-off-by: Justin Chadwell --- Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile b/Makefile index d634b336b..ba9f5d776 100644 --- a/Makefile +++ b/Makefile @@ -240,7 +240,6 @@ WARNING1 += -Wmissing-declarations WARNING1 += -Wmissing-format-attribute WARNING1 += -Wmissing-prototypes WARNING1 += -Wold-style-definition -WARNING1 += -Wunused-const-variable # Level 2 WARNING2 := -Waggregate-return