Remove unnecessary warning options

Both -Wmissing-field-initializers and -Wsign-compare are both covered by
-Wextra which is enabled at W=1 anyway. Therefore, the explicit options
are not required.

Change-Id: I2e7d95b5fc14af7c70895859a7ebbeac5bc0d2a4
Signed-off-by: Justin Chadwell <justin.chadwell@arm.com>
This commit is contained in:
Justin Chadwell 2019-07-31 11:44:42 +01:00 committed by Madhukar Pappireddy
parent 9ab81b5ea9
commit b8baa9346a
2 changed files with 1 additions and 4 deletions

View File

@ -247,8 +247,6 @@ WARNING2 += -Wcast-align
WARNING2 += -Wnested-externs
WARNING2 += -Wshadow
WARNING2 += -Wlogical-op
WARNING2 += -Wmissing-field-initializers
WARNING2 += -Wsign-compare
WARNING3 := -Wbad-function-cast
WARNING3 += -Wcast-qual

View File

@ -37,8 +37,7 @@ Several build options can be used to check for security issues. Refer to the
- W=2
Adds ``Waggregate-return``, ``Wcast-align``, ``Wnested-externs``,
``Wshadow``, ``Wlogical-op``, ``Wmissing-field-initializers`` and
``Wsign-compare``.
``Wshadow``, ``Wlogical-op``.
- W=3