diff options
Diffstat (limited to '')
-rw-r--r-- | src/fs/Path.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/fs/Path.cxx b/src/fs/Path.cxx index 7664e3ac0..cb808b36c 100644 --- a/src/fs/Path.cxx +++ b/src/fs/Path.cxx @@ -82,9 +82,6 @@ Path Path::FromUTF8(const char *path_utf8) p = g_convert(path_utf8, -1, fs_charset.c_str(), "utf-8", NULL, NULL, NULL); - if (p == NULL) - /* fall back to UTF-8 */ - p = g_strdup(path_utf8); return Path(Donate(), p); } |