waf: make maybe-uninitialised and duplicated-cond errors

This commit is contained in:
Peter Barker 2021-11-24 10:27:06 +11:00 committed by Andrew Tridgell
parent 11cbd68296
commit a93da420c8
1 changed files with 2 additions and 2 deletions

View File

@ -317,8 +317,8 @@ class Board:
if self.cc_version_gte(cfg, 7, 4):
env.CXXFLAGS += [
'-Werror=implicit-fallthrough',
'-Wmaybe-uninitialized',
'-Wduplicated-cond',
'-Werror=maybe-uninitialized',
'-Werror=duplicated-cond',
'-Werror=sizeof-pointer-div',
]