summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/filesystem/filesystem.cpp
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-07-30 02:43:34 +0200
committerLiam <byteslice@airmail.cc>2023-08-08 17:09:37 +0200
commit37b278a9a85fb934fa78ce4abf12a2c9df7d7112 (patch)
tree7f772ed7cdd56a4b75df1b3873a0a91996567892 /src/core/hle/service/filesystem/filesystem.cpp
parentssl: remove ResultVal use (diff)
downloadyuzu-37b278a9a85fb934fa78ce4abf12a2c9df7d7112.tar
yuzu-37b278a9a85fb934fa78ce4abf12a2c9df7d7112.tar.gz
yuzu-37b278a9a85fb934fa78ce4abf12a2c9df7d7112.tar.bz2
yuzu-37b278a9a85fb934fa78ce4abf12a2c9df7d7112.tar.lz
yuzu-37b278a9a85fb934fa78ce4abf12a2c9df7d7112.tar.xz
yuzu-37b278a9a85fb934fa78ce4abf12a2c9df7d7112.tar.zst
yuzu-37b278a9a85fb934fa78ce4abf12a2c9df7d7112.zip
Diffstat (limited to 'src/core/hle/service/filesystem/filesystem.cpp')
-rw-r--r--src/core/hle/service/filesystem/filesystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/filesystem/filesystem.cpp b/src/core/hle/service/filesystem/filesystem.cpp
index d9b569789..f59fa7fb1 100644
--- a/src/core/hle/service/filesystem/filesystem.cpp
+++ b/src/core/hle/service/filesystem/filesystem.cpp
@@ -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;
}