Commit 0366dcf6 authored by Max Kellermann's avatar Max Kellermann

PlaylistPrint: fix -Wunused #ifndef ENABLE_DATABASE

parent 8211d4a1
...@@ -143,6 +143,7 @@ spl_print(Response &r, Partition &partition, ...@@ -143,6 +143,7 @@ spl_print(Response &r, Partition &partition,
Error &error) Error &error)
{ {
#ifndef ENABLE_DATABASE #ifndef ENABLE_DATABASE
(void)partition;
(void)detail; (void)detail;
#endif #endif
......
...@@ -283,6 +283,7 @@ handle_update(Client &client, Request args, Response &r, bool discard) ...@@ -283,6 +283,7 @@ handle_update(Client &client, Request args, Response &r, bool discard)
if (db != nullptr) if (db != nullptr)
return handle_update(r, *db, path, discard); return handle_update(r, *db, path, discard);
#else #else
(void)client;
(void)args; (void)args;
(void)discard; (void)discard;
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment