summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-08-28 21:55:15 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-08-28 21:55:15 +0100
commit09f21d5d17100c94f77c30abcd6d219846cadbaf (patch)
tree489f3172146216d1e091269150183ac13d6f5760
parentAdd -Wduplicated-cond (diff)
downloadmygrate-09f21d5d17100c94f77c30abcd6d219846cadbaf.tar.bz2
mygrate-09f21d5d17100c94f77c30abcd6d219846cadbaf.tar.xz
mygrate-09f21d5d17100c94f77c30abcd6d219846cadbaf.zip
Add -Wduplicated-branches
-rw-r--r--Jamroot.jam1
1 files changed, 1 insertions, 0 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 7da7012..40a920d 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -30,6 +30,7 @@ project : requirements
<variant>debug:<cflags>-Wdouble-promotion
<variant>debug:<cflags>-Wformat=2
<toolset>gcc,<variant>debug:<cflags>-Wduplicated-cond
+ <toolset>gcc,<variant>debug:<cflags>-Wduplicated-branches
<variant>coverage:<coverage>on
<toolset>tidy:<checkxx>boost-*
<toolset>tidy:<checkxx>bugprone-*