Enable -Wunused-lambda-capture warning

This should prevent some build errors downstream.
The warning is currrently disabled in Chromium:
https://cs.chromium.org/chromium/src/build/config/compiler/BUILD.gn?rcl=735aa36217a394455f70aad87e2c844053fd810a&l=1214
(see https://crbug.com/681136 for more info).

BUG=webrtc:7133
NOTRY=True

Review-Url: https://codereview.webrtc.org/2999403002
Cr-Commit-Position: refs/heads/master@{#19466}
This commit is contained in:
kjellander
2017-08-23 08:31:51 -07:00
committed by Commit Bot
parent 09a76193f5
commit fd7cffa433

View File

@ -178,6 +178,7 @@ config("common_config") {
"-Wthread-safety", "-Wthread-safety",
"-Winconsistent-missing-override", "-Winconsistent-missing-override",
"-Wundef", "-Wundef",
"-Wunused-lambda-capture",
] ]
} }
} }