Commit 269cc840 authored by Takuto Ikuta's avatar Takuto Ikuta Committed by Commit Bot

Remove -Wno-unused-lambda-capture flag from default_warnings

This CL is part of
https://chromium-review.googlesource.com/c/chromium/src/+/1286017

This CL was uploaded by git cl split.

R=scottmg@chromium.org

Bug: 681136
Change-Id: Id22ba18bda2f051b12b5ca439df66eab6f42260d
Reviewed-on: https://chromium-review.googlesource.com/c/1288511
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Reviewed-by: default avatarScott Graham <scottmg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#601821}
parent aac2e189
......@@ -1472,9 +1472,6 @@ config("default_warnings") {
# TODO(thakis): https://crbug.com/604888
"-Wno-undefined-var-template",
# TODO(hans): https://crbug.com/681136
"-Wno-unused-lambda-capture",
# TODO(hans): https://crbug.com/766891
"-Wno-null-pointer-arithmetic",
]
......@@ -1610,6 +1607,13 @@ config("no_chromium_code") {
# suppressing them individually, we just blanket suppress them here.
"-Wno-unused-variable",
]
if (!is_nacl) {
cflags += [
# TODO(hans): https://crbug.com/681136
"-Wno-unused-lambda-capture",
]
}
}
configs = [ ":default_warnings" ]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment