summaryrefslogtreecommitdiff
path: root/source/fud_directory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/fud_directory.cpp')
-rw-r--r--source/fud_directory.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/fud_directory.cpp b/source/fud_directory.cpp
index 1a1223c..1dc1aba 100644
--- a/source/fud_directory.cpp
+++ b/source/fud_directory.cpp
@@ -89,9 +89,6 @@ Result<Directory, FudStatus> Directory::make(const String& name)
{
using RetType = Result<Directory, FudStatus>;
Directory directory{};
- if (!name.valid()) {
- return RetType::error(FudStatus::ArgumentInvalid);
- }
if (!name.utf8Valid()) {
return RetType::error(FudStatus::Utf8Invalid);