summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-01-20 19:19:07 +0100
committerMax Kellermann <max@musicpd.org>2018-07-06 19:13:53 +0200
commitfd7ae7ea4cf09c92c674d317fbd48ba2c6a02ac2 (patch)
tree912ca47140818221d0277578bc1b92eb0a6c8d82 /src
parent60d5bf0240dea58419edb05198906349e81abbe8 (diff)
input/Domain: remove obsolete variable
Diffstat (limited to 'src')
-rw-r--r--src/input/AsyncInputStream.cxx1
-rw-r--r--src/input/Domain.cxx24
-rw-r--r--src/input/Domain.hxx27
-rw-r--r--src/input/Open.cxx1
4 files changed, 0 insertions, 53 deletions
diff --git a/src/input/AsyncInputStream.cxx b/src/input/AsyncInputStream.cxx
index f6e510a1e..1a91d1f58 100644
--- a/src/input/AsyncInputStream.cxx
+++ b/src/input/AsyncInputStream.cxx
@@ -19,7 +19,6 @@
#include "config.h"
#include "AsyncInputStream.hxx"
-#include "Domain.hxx"
#include "tag/Tag.hxx"
#include "thread/Cond.hxx"
#include "IOThread.hxx"
diff --git a/src/input/Domain.cxx b/src/input/Domain.cxx
deleted file mode 100644
index 9d3977fa0..000000000
--- a/src/input/Domain.cxx
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Copyright 2003-2017 The Music Player Daemon Project
- * http://www.musicpd.org
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- */
-
-#include "config.h"
-#include "Domain.hxx"
-#include "util/Domain.hxx"
-
-const Domain input_domain("input");
diff --git a/src/input/Domain.hxx b/src/input/Domain.hxx
deleted file mode 100644
index 1ba83728f..000000000
--- a/src/input/Domain.hxx
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Copyright 2003-2017 The Music Player Daemon Project
- * http://www.musicpd.org
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- */
-
-#ifndef MPD_INPUT_DOMAIN_HXX
-#define MPD_INPUT_DOMAIN_HXX
-
-class Domain;
-
-extern const Domain input_domain;
-
-#endif
diff --git a/src/input/Open.cxx b/src/input/Open.cxx
index a879f24aa..4d2555bdb 100644
--- a/src/input/Open.cxx
+++ b/src/input/Open.cxx
@@ -22,7 +22,6 @@
#include "Registry.hxx"
#include "InputPlugin.hxx"
#include "LocalOpen.hxx"
-#include "Domain.hxx"
#include "plugins/RewindInputPlugin.hxx"
#include "fs/Traits.hxx"
#include "fs/AllocatedPath.hxx"