diff options
author | Alan Screen <awscreen@chromium.org> | 2021-06-14 13:46:57 -0700 |
---|---|---|
committer | Alan Screen <awscreen@chromium.org> | 2021-06-14 13:46:57 -0700 |
commit | 2fda35e2407284ef9ecab8239f0585fd98de2130 (patch) | |
tree | 635af4102b56a8f784763885515f25eb023ce6c8 | |
parent | e9be5fd6d723a435ca2da162f9e0ffcb688747c1 (diff) | |
download | nasm-2fda35e2407284ef9ecab8239f0585fd98de2130.tar.gz |
Disable compiler warning flag for set but unused variable
Needed since clang is now using -Wunused-but-set-variable.
Bug: pdfium:1691
Change-Id: I085a60d7a60bdbb38477766237a1809d82a09577
-rw-r--r-- | BUILD.gn | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -78,6 +78,9 @@ config("nasm_config") { # NASM sometimes uses uninitialized values. "-Wno-uninitialized", + + # NASM sometimes set variables but doesn't use them. + "-Wno-unused-but-set-variable", ] } else if (is_win) { # Please note that's a slightly different set of warnings. |