waf: add -werror=unused-value to catch unused expression results

This commit is contained in:
Peter Barker 2020-01-09 21:16:21 +11:00 committed by Andrew Tridgell
parent a9f62f196e
commit 0afdee5105
1 changed files with 1 additions and 0 deletions

View File

@ -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',