PlaylistPrint: fix -Wunused #ifndef ENABLE_DATABASE
This commit is contained in:
parent
8211d4a1c2
commit
0366dcf604
@ -143,6 +143,7 @@ spl_print(Response &r, Partition &partition,
|
||||
Error &error)
|
||||
{
|
||||
#ifndef ENABLE_DATABASE
|
||||
(void)partition;
|
||||
(void)detail;
|
||||
#endif
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user