Bug 172087 - Unused lambda in JSWebKitSubtleCrypto::wrapKey()
Summary: Unused lambda in JSWebKitSubtleCrypto::wrapKey()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: David Kilzer (:ddkilzer)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-13 22:03 PDT by David Kilzer (:ddkilzer)
Modified: 2017-05-13 23:05 PDT (History)
5 users (show)

See Also:


Attachments
Patch (2.18 KB, patch)
2017-05-13 22:03 PDT, David Kilzer (:ddkilzer)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2017-05-13 22:03:08 PDT
<https://webkit.org/b/000000>

Reviewed by NOBODY (OOPS!).

Fixes the following warning with newer clang:

Source/WebCore/bindings/js/JSWebKitSubtleCryptoCustom.cpp:594:35: error: lambda capture 'keyFormat' is not used [-Werror,-Wunused-lambda-capture]
auto exportSuccessCallback = [keyFormat, algorithm, parameters, wrappingKey, wrapper](const Vector<uint8_t>& exportedKeyData) mutable {
^

* bindings/js/JSWebKitSubtleCryptoCustom.cpp:
(WebCore::JSWebKitSubtleCrypto::wrapKey): Remove unused lambda.
---
 2 files changed, 17 insertions(+), 1 deletion(-)
Comment 1 David Kilzer (:ddkilzer) 2017-05-13 22:03:09 PDT
Created attachment 310063 [details]
Patch
Comment 2 WebKit Commit Bot 2017-05-13 23:05:20 PDT
Comment on attachment 310063 [details]
Patch

Clearing flags on attachment: 310063

Committed r216838: <http://trac.webkit.org/changeset/216838>
Comment 3 WebKit Commit Bot 2017-05-13 23:05:22 PDT
All reviewed patches have been landed.  Closing bug.