]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
testrunner: Add -Werror=duplicated-branches/duplicated-cond
authorRico Tzschichholz <ricotz@ubuntu.com>
Fri, 23 Feb 2018 14:31:37 +0000 (15:31 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 3 Nov 2018 13:08:13 +0000 (14:08 +0100)
tests/testrunner.sh

index f8f4ba20d860226dff258238c49dbba01696c016..64f5f690f271a7ad991a5157408e5ff63c136248 100755 (executable)
@@ -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"