aboutsummaryrefslogtreecommitdiffstats
path: root/src/Mapper.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-15 22:31:00 +0200
committerMax Kellermann <max@duempel.org>2013-10-15 22:48:01 +0200
commit8ed9f7effac54897fc5fc461b1a2e6e0309aba51 (patch)
treeaf78087d4da7efbc82e92073eb6254884598e594 /src/Mapper.cxx
parent12ab556477d8ffc620a84d29ac8abfaefeb4985f (diff)
downloadmpd-8ed9f7effac54897fc5fc461b1a2e6e0309aba51.tar.gz
mpd-8ed9f7effac54897fc5fc461b1a2e6e0309aba51.tar.xz
mpd-8ed9f7effac54897fc5fc461b1a2e6e0309aba51.zip
Mapper: remove obsolete variable music_dir_fs_length
Diffstat (limited to 'src/Mapper.cxx')
-rw-r--r--src/Mapper.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Mapper.cxx b/src/Mapper.cxx
index 0b808a7ea..347282821 100644
--- a/src/Mapper.cxx
+++ b/src/Mapper.cxx
@@ -53,7 +53,6 @@ static size_t music_dir_utf8_length;
* character set.
*/
static Path music_dir_fs = Path::Null();
-static size_t music_dir_fs_length;
/**
* The absolute path of the playlist directory encoded in the
@@ -99,7 +98,6 @@ mapper_set_music_dir(Path &&path)
music_dir_fs = std::move(path);
music_dir_fs.ChopSeparators();
- music_dir_fs_length = music_dir_fs.length();
const auto utf8 = music_dir_fs.ToUTF8();
music_dir_utf8 = g_strdup(utf8.c_str());