aboutsummaryrefslogtreecommitdiffstats
path: root/src/Main.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main.cxx')
-rw-r--r--src/Main.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Main.cxx b/src/Main.cxx
index eb71372eb..82e0145cd 100644
--- a/src/Main.cxx
+++ b/src/Main.cxx
@@ -162,10 +162,7 @@ InitStorage(Error &error)
path_fs.ChopSeparators();
CheckDirectoryReadable(path_fs);
- const auto utf8 = path_fs.ToUTF8();
- assert(!utf8.empty());
-
- instance->storage = CreateLocalStorage(utf8.c_str(), path_fs);
+ instance->storage = CreateLocalStorage(path_fs);
return true;
}