Commit 8ed9f7ef authored by Max Kellermann's avatar Max Kellermann

Mapper: remove obsolete variable music_dir_fs_length

parent 12ab5564
......@@ -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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment