general: fix incorrect conversions

This commit is contained in:
Liam 2023-07-29 20:43:34 -04:00
parent 83eee1d226
commit 37b278a9a8
4 changed files with 5 additions and 5 deletions

View file

@ -57,7 +57,7 @@ Result VfsDirectoryServiceWrapper::CreateFile(const std::string& path_, u64 size
return FileSys::ERROR_PATH_NOT_FOUND;
}
FileSys::EntryType entry_type;
FileSys::EntryType entry_type{};
if (GetEntryType(&entry_type, path) == ResultSuccess) {
return FileSys::ERROR_PATH_ALREADY_EXISTS;
}