From: Rico Tzschichholz Date: Fri, 23 Feb 2018 14:31:37 +0000 (+0100) Subject: testrunner: Add -Werror=duplicated-branches/duplicated-cond X-Git-Tag: 0.43.1~147 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45462fb872c8e6dbe8420c7141d5fadb04aac683;p=thirdparty%2Fvala.git testrunner: Add -Werror=duplicated-branches/duplicated-cond --- diff --git a/tests/testrunner.sh b/tests/testrunner.sh index f8f4ba20d..64f5f690f 100755 --- a/tests/testrunner.sh +++ b/tests/testrunner.sh @@ -51,6 +51,8 @@ VALAFLAGS="$VALAFLAGS \ -X -Werror=format-security \ -X -Werror=format-nonliteral \ -X -Werror=redundant-decls \ + -X -Werror=duplicated-branches \ + -X -Werror=duplicated-cond \ -X -Werror=int-conversion" VAPIGEN=$topbuilddir/vapigen/vapigen$EXEEXT VAPIGENFLAGS="--vapidir $vapidir"