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)
|
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)
|
|||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user