Commit 740c5444001b083fe9c04d809ceec9015bb075fc

Stefan Sperling 2018-01-14T17:48:32

compile with -Werror

diff --git a/regress/packfiles/Makefile b/regress/packfiles/Makefile
index 21b28bc..53d4ac1 100644
--- a/regress/packfiles/Makefile
+++ b/regress/packfiles/Makefile
@@ -4,6 +4,7 @@ PROG = packfile_test
 SRCS = error.c pack.c repository.c object.c path.c sha1.c packfile_test.c
 
 CPPFLAGS = -I${.CURDIR}/../../include -I${.CURDIR}/../../lib
+CFLAGS = -Werror
 LDADD = -lutil -lz
 DEBUG = -O0 -g
 
diff --git a/regress/repository/Makefile b/regress/repository/Makefile
index 2920770..d9852da 100644
--- a/regress/repository/Makefile
+++ b/regress/repository/Makefile
@@ -5,6 +5,7 @@ SRCS = path.c repository.c error.c refs.c object.c sha1.c diff.c \
 	diffreg.c xmalloc.c pack.c repository_test.c
 
 CPPFLAGS = -I${.CURDIR}/../../include
+CFLAGS = -Werror
 LDADD = -lutil -lz
 DEBUG = -O0 -g