aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-10-20 13:50:00 +0200
committerMax Kellermann <max@duempel.org>2015-10-20 13:50:00 +0200
commit0366dcf604b067f1a0e5379f2125589fd19be269 (patch)
treeb5e36c4bdf59826562f7f36cd6d50d78bf641ec8
parent8211d4a1c24761c89e8bb9628147ef22c02760d8 (diff)
downloadmpd-0366dcf604b067f1a0e5379f2125589fd19be269.tar.gz
mpd-0366dcf604b067f1a0e5379f2125589fd19be269.tar.xz
mpd-0366dcf604b067f1a0e5379f2125589fd19be269.zip
PlaylistPrint: fix -Wunused #ifndef ENABLE_DATABASE
Diffstat (limited to '')
-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