c530df
From a50ea0aa3dfd39ab4a3c39dde35c12fc51fe40d5 Mon Sep 17 00:00:00 2001
c530df
From: Robbie Harwood <rharwood@redhat.com>
c530df
Date: Wed, 15 Mar 2017 13:28:26 -0400
c530df
Subject: [PATCH] Turn on -Wextra
c530df
c530df
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
c530df
Reviewed-by: Simo Sorce <simo@redhat.com>
c530df
Merges: #173
c530df
(cherry picked from commit 85bc3d794efa52aba4c32f6109e7e7741521ec5f)
c530df
---
c530df
 proxy/Makefile.am | 2 +-
c530df
 1 file changed, 1 insertion(+), 1 deletion(-)
c530df
c530df
diff --git a/proxy/Makefile.am b/proxy/Makefile.am
c530df
index e1fbac1..5cd2255 100644
c530df
--- a/proxy/Makefile.am
c530df
+++ b/proxy/Makefile.am
c530df
@@ -44,7 +44,7 @@ AM_CFLAGS += -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith \
c530df
     -Wcast-qual -Wcast-align -Wwrite-strings \
c530df
     -fstrict-aliasing -Wstrict-aliasing -Werror=strict-aliasing \
c530df
     -Werror-implicit-function-declaration \
c530df
-    -Werror=format-security
c530df
+    -Werror=format-security -Wextra
c530df
 if BUILD_HARDENING
c530df
     AM_CPPFLAGS += -D_FORTIFY_SOURCE=2 -Wdate-time
c530df
     AM_CFLAGS += -fPIE -fstack-protector-strong