summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-02-05 23:01:09 +0100
committerMax Kellermann <max@musicpd.org>2019-02-05 23:01:09 +0100
commitfeb5ff9bd2c5d88e84cb843e15692896e3bd1936 (patch)
tree1aeac24478831b0ebc1ac5b01c4033b2750a5622
parent92ec3f0881e960eac7cd6d411865b18e5a1ab094 (diff)
Mapper: remove empty function mapper_finish()
-rw-r--r--src/Main.cxx4
-rw-r--r--src/Mapper.cxx5
-rw-r--r--src/Mapper.hxx3
3 files changed, 0 insertions, 12 deletions
diff --git a/src/Main.cxx b/src/Main.cxx
index b25586246..7ba25dad8 100644
--- a/src/Main.cxx
+++ b/src/Main.cxx
@@ -655,10 +655,6 @@ mpd_main_after_fork(const ConfigData &raw_config, const Config &config)
playlist_list_global_finish();
-#ifdef ENABLE_DATABASE
- mapper_finish();
-#endif
-
DeinitFS();
return EXIT_SUCCESS;
diff --git a/src/Mapper.cxx b/src/Mapper.cxx
index ccfd72f7a..c5c3076d0 100644
--- a/src/Mapper.cxx
+++ b/src/Mapper.cxx
@@ -58,11 +58,6 @@ mapper_init(AllocatedPath &&_playlist_dir)
mapper_set_playlist_dir(std::move(_playlist_dir));
}
-void
-mapper_finish() noexcept
-{
-}
-
#ifdef ENABLE_DATABASE
AllocatedPath
diff --git a/src/Mapper.hxx b/src/Mapper.hxx
index bf8ef6ae1..47021faf0 100644
--- a/src/Mapper.hxx
+++ b/src/Mapper.hxx
@@ -37,9 +37,6 @@ class AllocatedPath;
void
mapper_init(AllocatedPath &&playlist_dir);
-void
-mapper_finish() noexcept;
-
#ifdef ENABLE_DATABASE
/**