mirror of https://github.com/ArduPilot/ardupilot
waf: add -werror=unused-value to catch unused expression results
This commit is contained in:
parent
a9f62f196e
commit
0afdee5105
|
@ -193,6 +193,7 @@ class Board:
|
|||
'-Werror=type-limits',
|
||||
'-Werror=unused-result',
|
||||
'-Werror=shadow',
|
||||
'-Werror=unused-value',
|
||||
'-Werror=unused-variable',
|
||||
'-Werror=delete-non-virtual-dtor',
|
||||
'-Wfatal-errors',
|
||||
|
|
Loading…
Reference in New Issue