]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Meta/Make: try -Woverflow and -Wunused
authorJunio C Hamano <gitster@pobox.com>
Mon, 25 Apr 2011 19:42:09 +0000 (12:42 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Apr 2011 19:42:09 +0000 (12:42 -0700)
Make

diff --git a/Make b/Make
index d166e0399c911b24d6400272d4ee168a6d15496f..22d1444ced5b3abe983594b614875160e82ad092 100755 (executable)
--- a/Make
+++ b/Make
@@ -87,7 +87,7 @@ do
                ?*)     ;;
                '')
                        O="$O -Werror $o -std=c99 -Wno-pointer-to-int-cast"
-                       O="$O -Wpointer-arith"
+                       O="$O -Wpointer-arith -Woverflow -Wunused"
                        ;;
                esac
                # -Wvla