Просмотр исходного кода

Merge pull request #1188 from lioncash/unused

vfs_real: Remove unused variable in CreateDirectoryRelative()
bunnei 8 лет назад
Родитель
Сommit
90fd03015a
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      src/core/file_sys/vfs_real.cpp

+ 0 - 1
src/core/file_sys/vfs_real.cpp

@@ -341,7 +341,6 @@ std::shared_ptr<VfsFile> RealVfsDirectory::CreateFileRelative(std::string_view p
 
 
 std::shared_ptr<VfsDirectory> RealVfsDirectory::CreateDirectoryRelative(std::string_view path) {
 std::shared_ptr<VfsDirectory> RealVfsDirectory::CreateDirectoryRelative(std::string_view path) {
     const auto full_path = FileUtil::SanitizePath(this->path + DIR_SEP + std::string(path));
     const auto full_path = FileUtil::SanitizePath(this->path + DIR_SEP + std::string(path));
-    auto parent = std::string(FileUtil::GetParentPath(full_path));
     return base.CreateDirectory(full_path, perms);
     return base.CreateDirectory(full_path, perms);
 }
 }