Enable -Wunused-but-set-variable.

Bug: chromium:1203071

Change-Id: I73e58baa9a581bfc72f191184998d68dba9941d6
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/59720
Auto-Submit: Peter Kasting <pkasting@google.com>
Commit-Queue: Austin Eng <enga@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
This commit is contained in:
Peter Kasting
2021-07-27 18:42:59 +00:00
committed by Dawn LUCI CQ
parent 08a3900522
commit 7e50a7fad3
5 changed files with 4 additions and 5 deletions

View File

@@ -120,6 +120,7 @@ config("dawn_internal") {
"-Wstrict-prototypes",
"-Wtautological-unsigned-zero-compare",
"-Wunreachable-code-aggressive",
"-Wunused-but-set-variable",
]
if (is_win) {