diff options
author | Chloe <25727384+ogniK5377@users.noreply.github.com> | 2021-09-09 03:00:08 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-09 03:00:08 +1000 |
commit | 005b0e68db603fbcbd0f2cdab722880d227d50ac (patch) | |
tree | 49843419e68e7a2928d23d7420bb9797f6c41911 | |
parent | 0b891c9245f45825978f762af3812c9ae794ed7f (diff) |
Addressed issues
Co-authored-by: Mai M. <mathew1800@gmail.com>
-rw-r--r-- | src/core/hle/service/filesystem/filesystem.cpp | 2 |
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 14a491dd5..db17d61e4 100644 --- a/src/core/hle/service/filesystem/filesystem.cpp +++ b/src/core/hle/service/filesystem/filesystem.cpp @@ -98,7 +98,7 @@ ResultCode VfsDirectoryServiceWrapper::DeleteFile(const std::string& path_) cons ResultCode VfsDirectoryServiceWrapper::CreateDirectory(const std::string& path_) const { std::string path(Common::FS::SanitizePath(path_)); const auto components = Common::FS::SplitPathComponents(path); - std::string relative_path = ""; + std::string relative_path; for (const auto& component : components) { // Skip empty path components if (component.empty()) { |