Chromium Code Reviews
DescriptionFix unused lambda captures in //device and //services/media_capture.
Clang just got a new warning about unused lambda captures,
and that requires us to clean all places with this issue
across all the Chromium code base. This CL fixes all such
cases in //device and //services/media_capture.
An example of a code that is no longer considered normal is
auto g = [i, j]() { printf("%d\n", i); };
in which j is never used in the lambda and therefore its capture is unnecessary.
BUG=681136
Review-Url: https://codereview.chromium.org/2649443002
Cr-Commit-Position: refs/heads/master@{#444873}
Committed: https://chromium.googlesource.com/chromium/src/+/3cc294f047397929621de8cb19c2e911c8f488a1
Patch Set 1 #
Messages
Total messages: 14 (7 generated)
|
||||||||||||||||||||||||||||