summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-27 18:24:23 -0400
committerGitHub <noreply@github.com>2018-08-27 18:24:23 -0400
commit90fd03015a24b625e0bb3d4ac2f4e92bff394553 (patch)
treedf879e45eb708304b688ee8b027e215c1a363575 /src
parent2562fe4a16c823013336044844a995c185e2e06b (diff)
parentc6024379a4b8ec48a6764ad58df396635f4f3d21 (diff)
Merge pull request #1188 from lioncash/unused
vfs_real: Remove unused variable in CreateDirectoryRelative()
Diffstat (limited to 'src')
-rw-r--r--src/core/file_sys/vfs_real.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/file_sys/vfs_real.cpp b/src/core/file_sys/vfs_real.cpp
index 0afe515f0..2b8ac7103 100644
--- a/src/core/file_sys/vfs_real.cpp
+++ b/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) {
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);
}