diff options
author | Max Kellermann <max@musicpd.org> | 2018-01-23 09:57:52 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-01-23 09:57:52 +0100 |
commit | bb1e369f304b86fae73ef36b7686e2836971c0c7 (patch) | |
tree | 05ae7499e6cec0827acfe8bb4dd3058d1e0d4e29 /src/playlist | |
parent | 8376578921c344a584b604657cc7275be804551d (diff) |
playlist/SoundCloud: fix -Wunused-lambda-capture
Diffstat (limited to 'src/playlist')
-rw-r--r-- | src/playlist/plugins/SoundCloudPlaylistPlugin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playlist/plugins/SoundCloudPlaylistPlugin.cxx b/src/playlist/plugins/SoundCloudPlaylistPlugin.cxx index a4dcb1972..88a9606c5 100644 --- a/src/playlist/plugins/SoundCloudPlaylistPlugin.cxx +++ b/src/playlist/plugins/SoundCloudPlaylistPlugin.cxx @@ -313,7 +313,7 @@ soundcloud_open_uri(const char *uri, Mutex &mutex, Cond &cond) SoundCloudJsonData data; yajl_handle hand = yajl_alloc(&parse_callbacks, nullptr, &data); - AtScopeExit(hand, &data) { yajl_free(hand); }; + AtScopeExit(hand) { yajl_free(hand); }; int ret = soundcloud_parse_json(u, hand, mutex, cond); |