aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/PlaylistPrint.cxx1
-rw-r--r--src/command/OtherCommands.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/PlaylistPrint.cxx b/src/PlaylistPrint.cxx
index ee3794bb9..80f348710 100644
--- a/src/PlaylistPrint.cxx
+++ b/src/PlaylistPrint.cxx
@@ -143,6 +143,7 @@ spl_print(Response &r, Partition &partition,
Error &error)
{
#ifndef ENABLE_DATABASE
+ (void)partition;
(void)detail;
#endif
diff --git a/src/command/OtherCommands.cxx b/src/command/OtherCommands.cxx
index 596c9c7f6..09b951b03 100644
--- a/src/command/OtherCommands.cxx
+++ b/src/command/OtherCommands.cxx
@@ -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