db/proxy: suppress -Wunused with libmpdclient<2.12

This commit is contained in:
Max Kellermann 2021-05-31 16:48:20 +02:00
parent a26bf261a9
commit aa6dac9bd2
1 changed files with 1 additions and 0 deletions

View File

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