From aa6dac9bd2925bcb402530eae68cca36897ebd20 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 31 May 2021 16:48:20 +0200 Subject: db/proxy: suppress -Wunused with libmpdclient<2.12 --- src/db/plugins/ProxyDatabasePlugin.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/db/plugins/ProxyDatabasePlugin.cxx b/src/db/plugins/ProxyDatabasePlugin.cxx index a4fe43bcf..28e9676cc 100644 --- a/src/db/plugins/ProxyDatabasePlugin.cxx +++ b/src/db/plugins/ProxyDatabasePlugin.cxx @@ -424,6 +424,7 @@ SendGroup(mpd_connection *connection, TagType group) return mpd_search_add_group_tag(connection, tag); #else (void)connection; + (void)group; throw std::runtime_error("Grouping requires libmpdclient 2.12"); #endif -- cgit v1.2.3