aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Derek Sollenberger <djsollen@google.com>2017-12-14 13:01:30 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-12-14 19:13:08 +0000
commit9a72ae1eac5bc520aafa5ca0e300916c29408b8c (patch)
tree086a91640fd5a4bb2419edb227fc0fcb2042e308
parentae3fecd6e084429123e18a46575ed08c9d511605 (diff)
Suppress warnings of unused variables.
Prepare to compile with default -Werror. Bug: b/66996870 Change-Id: I2dbff68e7482085683adb6b9d214e1af009e7479 Reviewed-on: https://skia-review.googlesource.com/85004 Reviewed-by: Stephen Hines <srhines@google.com> Commit-Queue: Derek Sollenberger <djsollen@google.com>
-rw-r--r--gn/gn_to_bp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gn/gn_to_bp.py b/gn/gn_to_bp.py
index 7e5bb1a22e..4f27b87d4d 100644
--- a/gn/gn_to_bp.py
+++ b/gn/gn_to_bp.py
@@ -162,7 +162,8 @@ cc_defaults {
"libskia",
],
cflags: [
- "-Wno-unused-parameter"
+ "-Wno-unused-parameter",
+ "-Wno-unused-variable",
],
}