Commit b8baa934 authored by Justin Chadwell's avatar Justin Chadwell Committed by Madhukar Pappireddy
Browse files

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: default avatarJustin Chadwell <justin.chadwell@arm.com>
parent 9ab81b5e
...@@ -247,8 +247,6 @@ WARNING2 += -Wcast-align ...@@ -247,8 +247,6 @@ WARNING2 += -Wcast-align
WARNING2 += -Wnested-externs WARNING2 += -Wnested-externs
WARNING2 += -Wshadow WARNING2 += -Wshadow
WARNING2 += -Wlogical-op WARNING2 += -Wlogical-op
WARNING2 += -Wmissing-field-initializers
WARNING2 += -Wsign-compare
WARNING3 := -Wbad-function-cast WARNING3 := -Wbad-function-cast
WARNING3 += -Wcast-qual WARNING3 += -Wcast-qual
......
...@@ -37,8 +37,7 @@ Several build options can be used to check for security issues. Refer to the ...@@ -37,8 +37,7 @@ Several build options can be used to check for security issues. Refer to the
- W=2 - W=2
Adds ``Waggregate-return``, ``Wcast-align``, ``Wnested-externs``, Adds ``Waggregate-return``, ``Wcast-align``, ``Wnested-externs``,
``Wshadow``, ``Wlogical-op``, ``Wmissing-field-initializers`` and ``Wshadow``, ``Wlogical-op``.
``Wsign-compare``.
- W=3 - W=3
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment