[vala/staging] testrunner: Add -Werror=duplicated-branches/duplicated-cond



commit 45462fb872c8e6dbe8420c7141d5fadb04aac683
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Fri Feb 23 15:31:37 2018 +0100

    testrunner: Add -Werror=duplicated-branches/duplicated-cond

 tests/testrunner.sh | 2 ++
 1 file changed, 2 insertions(+)
---
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"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]