mirror of https://github.com/ArduPilot/ardupilot
waf: make maybe-uninitialised and duplicated-cond errors
This commit is contained in:
parent
11cbd68296
commit
a93da420c8
|
@ -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',
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in New Issue