From b8baa9346aaad24f8da48e408e0dbd5e65619905 Mon Sep 17 00:00:00 2001 From: Justin Chadwell Date: Wed, 31 Jul 2019 11:44:42 +0100 Subject: 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 --- docs/process/security-hardening.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/process/security-hardening.rst b/docs/process/security-hardening.rst index 1a5524fd8..646b7a117 100644 --- a/docs/process/security-hardening.rst +++ b/docs/process/security-hardening.rst @@ -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 -- cgit v1.2.3