aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-25 20:13:40 +0100
committerMax Kellermann <max@duempel.org>2014-02-25 20:13:40 +0100
commit5f262da09d3e572bc9d8cc7570c249aab2ca0946 (patch)
tree0842e3bc30f01567510376f57cf4cf86bbe6c4bc /src
parent82985a94884941fb40951933600d757e5371211d (diff)
downloadmpd-5f262da09d3e572bc9d8cc7570c249aab2ca0946.tar.gz
mpd-5f262da09d3e572bc9d8cc7570c249aab2ca0946.tar.xz
mpd-5f262da09d3e572bc9d8cc7570c249aab2ca0946.zip
db/simple: remove unused method LookupDirectory()
Diffstat (limited to 'src')
-rw-r--r--src/db/plugins/SimpleDatabasePlugin.cxx11
-rw-r--r--src/db/plugins/SimpleDatabasePlugin.hxx3
2 files changed, 0 insertions, 14 deletions
diff --git a/src/db/plugins/SimpleDatabasePlugin.cxx b/src/db/plugins/SimpleDatabasePlugin.cxx
index 48d014e55..ceb191818 100644
--- a/src/db/plugins/SimpleDatabasePlugin.cxx
+++ b/src/db/plugins/SimpleDatabasePlugin.cxx
@@ -235,17 +235,6 @@ SimpleDatabase::ReturnSong(gcc_unused const LightSong *song) const
#endif
}
-gcc_pure
-const Directory *
-SimpleDatabase::LookupDirectory(const char *uri) const
-{
- assert(root != nullptr);
- assert(uri != nullptr);
-
- ScopeDatabaseLock protect;
- return root->LookupDirectory(uri);
-}
-
bool
SimpleDatabase::Visit(const DatabaseSelection &selection,
VisitDirectory visit_directory,
diff --git a/src/db/plugins/SimpleDatabasePlugin.hxx b/src/db/plugins/SimpleDatabasePlugin.hxx
index d998d5ac2..40d870460 100644
--- a/src/db/plugins/SimpleDatabasePlugin.hxx
+++ b/src/db/plugins/SimpleDatabasePlugin.hxx
@@ -107,9 +107,6 @@ private:
bool Check(Error &error) const;
bool Load(Error &error);
-
- gcc_pure
- const Directory *LookupDirectory(const char *uri) const;
};
extern const DatabasePlugin simple_db_plugin;