mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 09:34:18 +00:00
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:
parent
9ab81b5ea9
commit
b8baa9346a
2 changed files with 1 additions and 4 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue