aboutsummaryrefslogtreecommitdiff
path: root/src/fs/Path.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/Path.cxx')
-rw-r--r--src/fs/Path.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/fs/Path.cxx b/src/fs/Path.cxx
index 7664e3ac..cb808b36 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);
}