Bug 171098 - Remove unused lamda captures
Summary: Remove unused lamda captures
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Konstantin Tokarev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-20 19:45 PDT by Konstantin Tokarev
Modified: 2017-04-20 22:48 PDT (History)
14 users (show)

See Also:


Attachments
Patch (7.46 KB, patch)
2017-04-20 19:47 PDT, Konstantin Tokarev
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Tokarev 2017-04-20 19:45:18 PDT
As reported by -Wunused-lambda-capture diagnostic of Clang
Comment 1 Konstantin Tokarev 2017-04-20 19:47:01 PDT
Created attachment 307686 [details]
Patch
Comment 2 Yusuke Suzuki 2017-04-20 20:06:43 PDT
Comment on attachment 307686 [details]
Patch

r=me
Comment 3 WebKit Commit Bot 2017-04-20 20:38:20 PDT
Comment on attachment 307686 [details]
Patch

Clearing flags on attachment: 307686

Committed r215601: <http://trac.webkit.org/changeset/215601>
Comment 4 WebKit Commit Bot 2017-04-20 20:38:21 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Joseph Pecoraro 2017-04-20 20:56:19 PDT
Nice! Have you considered always enabling the warning?
Comment 6 Konstantin Tokarev 2017-04-20 22:48:12 PDT
This warning a very new feature, it is enabled by -Wall, and if you have Clang newer than r291905 you will get it without enabling it specifically.