소스 검색

Addressed issues

Co-authored-by: Mai M. <mathew1800@gmail.com>
Chloe 4 년 전
부모
커밋
005b0e68db
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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()) {