diff options
author | Max Kellermann <max@musicpd.org> | 2021-05-31 16:48:20 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2021-05-31 16:49:08 +0200 |
commit | aa6dac9bd2925bcb402530eae68cca36897ebd20 (patch) | |
tree | e4ac37efc895cbc5b1edb0487a8b661e2d498cbb | |
parent | a26bf261a908f8c76196d702cd61accf894b52f2 (diff) |
db/proxy: suppress -Wunused with libmpdclient<2.12
-rw-r--r-- | src/db/plugins/ProxyDatabasePlugin.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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 |