Explorar o código

Addressed issues

Co-authored-by: Mai M. <mathew1800@gmail.com>
Chloe %!s(int64=4) %!d(string=hai) anos
pai
achega
005b0e68db
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/hle/service/filesystem/filesystem.cpp

+ 1 - 1
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()) {