Commit 0aaf8708b0f67ed9b99f1c1e2fd28492a671123d

Ramsay Jones 2010-06-07T19:33:36

Makefile(s): Add -Wextra to CFLAGS Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>

diff --git a/Makefile b/Makefile
index 7f11132..5018a35 100644
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@ ifdef MSVC
 	uname_S := Windows
 endif
 
-CFLAGS = -g -O2 -Wall
+CFLAGS = -g -O2 -Wall -Wextra
 OS     = unix
 
 EXTRA_SRC =
diff --git a/tests/Makefile b/tests/Makefile
index e5ff267..e3059f5 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -10,7 +10,7 @@ ifdef MSVC
 	uname_S := Windows
 endif
 
-CFLAGS = -g -O2 -Wall
+CFLAGS = -g -O2 -Wall -Wextra
 LIBS   = -L.. -lgit2 -lz
 OS     = unix