summaryrefslogtreecommitdiff
path: root/src/common/file_util.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2020-08-18 22:03:09 -0400
committerGravatar GitHub2020-08-18 22:03:09 -0400
commitb1fa647f28068110020b1f3c16e10fad1d1a3438 (patch)
tree12fb0f2ac678a65fa402235656d2f982acc2f5fb /src/common/file_util.cpp
parentMerge pull request #4522 from lioncash/vulk-copy (diff)
parentcommon: Silence two discarded result warnings (diff)
downloadyuzu-b1fa647f28068110020b1f3c16e10fad1d1a3438.tar.gz
yuzu-b1fa647f28068110020b1f3c16e10fad1d1a3438.tar.xz
yuzu-b1fa647f28068110020b1f3c16e10fad1d1a3438.zip
Merge pull request #4539 from lioncash/disc
common: Silence two discarded result warnings
Diffstat (limited to 'src/common/file_util.cpp')
-rw-r--r--src/common/file_util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/file_util.cpp b/src/common/file_util.cpp
index c869e7b82..16c3713e0 100644
--- a/src/common/file_util.cpp
+++ b/src/common/file_util.cpp
@@ -909,10 +909,10 @@ std::string SanitizePath(std::string_view path_, DirectorySeparator directory_se
909 return std::string(RemoveTrailingSlash(path)); 909 return std::string(RemoveTrailingSlash(path));
910} 910}
911 911
912IOFile::IOFile() {} 912IOFile::IOFile() = default;
913 913
914IOFile::IOFile(const std::string& filename, const char openmode[], int flags) { 914IOFile::IOFile(const std::string& filename, const char openmode[], int flags) {
915 Open(filename, openmode, flags); 915 void(Open(filename, openmode, flags));
916} 916}
917 917
918IOFile::~IOFile() { 918IOFile::~IOFile() {