From 8ed9f7effac54897fc5fc461b1a2e6e0309aba51 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 15 Oct 2013 22:31:00 +0200 Subject: Mapper: remove obsolete variable music_dir_fs_length --- src/Mapper.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/Mapper.cxx') 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()); -- cgit v1.2.3