From bb1e369f304b86fae73ef36b7686e2836971c0c7 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 23 Jan 2018 09:57:52 +0100 Subject: [PATCH] playlist/SoundCloud: fix -Wunused-lambda-capture --- src/playlist/plugins/SoundCloudPlaylistPlugin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);