aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-09-17 23:13:53 +0200
committerMax Kellermann <max@duempel.org>2015-09-17 23:15:54 +0200
commitce0d896492c5afb4acf545a9cbd6e12f366c1663 (patch)
tree690f566fced0a05380eccb0754f2a56b65b9034c /src
parenteae9cb4afe0e311a65dc566a0655a54656c8d807 (diff)
downloadmpd-ce0d896492c5afb4acf545a9cbd6e12f366c1663.tar.gz
mpd-ce0d896492c5afb4acf545a9cbd6e12f366c1663.tar.xz
mpd-ce0d896492c5afb4acf545a9cbd6e12f366c1663.zip
unix/Daemon, playlist/pls, ...: remove unused Domain variables
Diffstat (limited to 'src')
-rw-r--r--src/Main.cxx3
-rw-r--r--src/encoder/plugins/ShineEncoderPlugin.cxx3
-rw-r--r--src/filter/plugins/VolumeFilterPlugin.cxx3
-rw-r--r--src/mixer/MixerAll.cxx3
-rw-r--r--src/output/plugins/PipeOutputPlugin.cxx3
-rw-r--r--src/playlist/plugins/PlsPlaylistPlugin.cxx3
-rw-r--r--src/playlist/plugins/XspfPlaylistPlugin.cxx3
-rw-r--r--src/unix/Daemon.cxx3
8 files changed, 0 insertions, 24 deletions
diff --git a/src/Main.cxx b/src/Main.cxx
index 4a8b2a55c..1a074d439 100644
--- a/src/Main.cxx
+++ b/src/Main.cxx
@@ -53,7 +53,6 @@
#include "system/FatalError.hxx"
#include "util/UriUtil.hxx"
#include "util/Error.hxx"
-#include "util/Domain.hxx"
#include "thread/Id.hxx"
#include "thread/Slack.hxx"
#include "lib/icu/Init.hxx"
@@ -126,8 +125,6 @@
static constexpr unsigned DEFAULT_BUFFER_SIZE = 4096;
static constexpr unsigned DEFAULT_BUFFER_BEFORE_PLAY = 10;
-static constexpr Domain main_domain("main");
-
#ifdef ANDROID
Context *context;
#endif
diff --git a/src/encoder/plugins/ShineEncoderPlugin.cxx b/src/encoder/plugins/ShineEncoderPlugin.cxx
index c397906d3..34040b018 100644
--- a/src/encoder/plugins/ShineEncoderPlugin.cxx
+++ b/src/encoder/plugins/ShineEncoderPlugin.cxx
@@ -26,7 +26,6 @@
#include "util/NumberParser.hxx"
#include "util/DynamicFifoBuffer.hxx"
#include "util/Error.hxx"
-#include "util/Domain.hxx"
extern "C"
{
@@ -60,8 +59,6 @@ struct ShineEncoder {
bool WriteChunk(bool flush);
};
-static constexpr Domain shine_encoder_domain("shine_encoder");
-
inline bool
ShineEncoder::Configure(const ConfigBlock &block, gcc_unused Error &error)
{
diff --git a/src/filter/plugins/VolumeFilterPlugin.cxx b/src/filter/plugins/VolumeFilterPlugin.cxx
index b9c3c277e..4a7abb953 100644
--- a/src/filter/plugins/VolumeFilterPlugin.cxx
+++ b/src/filter/plugins/VolumeFilterPlugin.cxx
@@ -26,7 +26,6 @@
#include "AudioFormat.hxx"
#include "util/ConstBuffer.hxx"
#include "util/Error.hxx"
-#include "util/Domain.hxx"
#include <assert.h>
#include <string.h>
@@ -50,8 +49,6 @@ public:
Error &error) override;
};
-static constexpr Domain volume_domain("pcm_volume");
-
static Filter *
volume_filter_init(gcc_unused const ConfigBlock &block,
gcc_unused Error &error)
diff --git a/src/mixer/MixerAll.cxx b/src/mixer/MixerAll.cxx
index f652a9a95..835cf4eec 100644
--- a/src/mixer/MixerAll.cxx
+++ b/src/mixer/MixerAll.cxx
@@ -25,13 +25,10 @@
#include "output/Internal.hxx"
#include "pcm/Volume.hxx"
#include "util/Error.hxx"
-#include "util/Domain.hxx"
#include "Log.hxx"
#include <assert.h>
-static constexpr Domain mixer_domain("mixer");
-
static int
output_mixer_get_volume(const AudioOutput &ao)
{
diff --git a/src/output/plugins/PipeOutputPlugin.cxx b/src/output/plugins/PipeOutputPlugin.cxx
index 1e34ea98d..a18890804 100644
--- a/src/output/plugins/PipeOutputPlugin.cxx
+++ b/src/output/plugins/PipeOutputPlugin.cxx
@@ -23,7 +23,6 @@
#include "../Wrapper.hxx"
#include "config/ConfigError.hxx"
#include "util/Error.hxx"
-#include "util/Domain.hxx"
#include <string>
@@ -55,8 +54,6 @@ public:
};
-static constexpr Domain pipe_output_domain("pipe_output");
-
inline bool
PipeOutput::Configure(const ConfigBlock &block, Error &error)
{
diff --git a/src/playlist/plugins/PlsPlaylistPlugin.cxx b/src/playlist/plugins/PlsPlaylistPlugin.cxx
index 0a97c72b3..7d2579cd3 100644
--- a/src/playlist/plugins/PlsPlaylistPlugin.cxx
+++ b/src/playlist/plugins/PlsPlaylistPlugin.cxx
@@ -28,14 +28,11 @@
#include "util/StringUtil.hxx"
#include "util/DivideString.hxx"
#include "util/Error.hxx"
-#include "util/Domain.hxx"
#include <string>
#include <stdlib.h>
-static constexpr Domain pls_domain("pls");
-
static bool
FindPlaylistSection(TextInputStream &is)
{
diff --git a/src/playlist/plugins/XspfPlaylistPlugin.cxx b/src/playlist/plugins/XspfPlaylistPlugin.cxx
index 41fe12013..6d09b6db2 100644
--- a/src/playlist/plugins/XspfPlaylistPlugin.cxx
+++ b/src/playlist/plugins/XspfPlaylistPlugin.cxx
@@ -25,14 +25,11 @@
#include "input/InputStream.hxx"
#include "tag/TagBuilder.hxx"
#include "util/Error.hxx"
-#include "util/Domain.hxx"
#include "lib/expat/ExpatParser.hxx"
#include "Log.hxx"
#include <string.h>
-static constexpr Domain xspf_domain("xspf");
-
/**
* This is the state object for our XML parser.
*/
diff --git a/src/unix/Daemon.cxx b/src/unix/Daemon.cxx
index bdc5568e8..9aa16a078 100644
--- a/src/unix/Daemon.cxx
+++ b/src/unix/Daemon.cxx
@@ -22,7 +22,6 @@
#include "system/FatalError.hxx"
#include "fs/AllocatedPath.hxx"
#include "fs/FileSystem.hxx"
-#include "util/Domain.hxx"
#include "PidFile.hxx"
#include "Log.hxx"
@@ -41,8 +40,6 @@
#define WCOREDUMP(v) 0
#endif
-static constexpr Domain daemon_domain("daemon");
-
#ifndef WIN32
/** the Unix user name which MPD runs as */