From 0366dcf604b067f1a0e5379f2125589fd19be269 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 20 Oct 2015 13:50:00 +0200 Subject: [PATCH] PlaylistPrint: fix -Wunused #ifndef ENABLE_DATABASE --- src/PlaylistPrint.cxx | 1 + src/command/OtherCommands.cxx | 1 + 2 files changed, 2 insertions(+) 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