playlist/SoundCloud: fix -Wunused-lambda-capture

This commit is contained in:
Max Kellermann 2018-01-23 09:57:52 +01:00
parent 8376578921
commit bb1e369f30
1 changed files with 1 additions and 1 deletions

View File

@ -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);