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