[vala/staging] testrunner: Add -Werror=duplicated-branches/duplicated-cond
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] testrunner: Add -Werror=duplicated-branches/duplicated-cond
- Date: Sat, 3 Nov 2018 13:48:56 +0000 (UTC)
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]