PlaylistPrint: fix -Wunused #ifndef ENABLE_DATABASE

This commit is contained in:
Max Kellermann 2015-10-20 13:50:00 +02:00
parent 8211d4a1c2
commit 0366dcf604
2 changed files with 2 additions and 0 deletions

View File

@ -143,6 +143,7 @@ spl_print(Response &r, Partition &partition,
Error &error)
{
#ifndef ENABLE_DATABASE
(void)partition;
(void)detail;
#endif

View File

@ -283,6 +283,7 @@ handle_update(Client &client, Request args, Response &r, bool discard)
if (db != nullptr)
return handle_update(r, *db, path, discard);
#else
(void)client;
(void)args;
(void)discard;
#endif