diff options
author | bunnei <bunneidev@gmail.com> | 2020-08-19 04:03:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-19 04:03:09 +0200 |
commit | b1fa647f28068110020b1f3c16e10fad1d1a3438 (patch) | |
tree | 12fb0f2ac678a65fa402235656d2f982acc2f5fb /src | |
parent | Merge pull request #4522 from lioncash/vulk-copy (diff) | |
parent | common: Silence two discarded result warnings (diff) | |
download | yuzu-b1fa647f28068110020b1f3c16e10fad1d1a3438.tar yuzu-b1fa647f28068110020b1f3c16e10fad1d1a3438.tar.gz yuzu-b1fa647f28068110020b1f3c16e10fad1d1a3438.tar.bz2 yuzu-b1fa647f28068110020b1f3c16e10fad1d1a3438.tar.lz yuzu-b1fa647f28068110020b1f3c16e10fad1d1a3438.tar.xz yuzu-b1fa647f28068110020b1f3c16e10fad1d1a3438.tar.zst yuzu-b1fa647f28068110020b1f3c16e10fad1d1a3438.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/common/dynamic_library.cpp | 2 | ||||
-rw-r--r-- | src/common/file_util.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/common/dynamic_library.cpp b/src/common/dynamic_library.cpp index 7ab54e9e4..7f0a10521 100644 --- a/src/common/dynamic_library.cpp +++ b/src/common/dynamic_library.cpp @@ -21,7 +21,7 @@ namespace Common { DynamicLibrary::DynamicLibrary() = default; DynamicLibrary::DynamicLibrary(const char* filename) { - Open(filename); + void(Open(filename)); } DynamicLibrary::DynamicLibrary(DynamicLibrary&& rhs) noexcept 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 return std::string(RemoveTrailingSlash(path)); } -IOFile::IOFile() {} +IOFile::IOFile() = default; IOFile::IOFile(const std::string& filename, const char openmode[], int flags) { - Open(filename, openmode, flags); + void(Open(filename, openmode, flags)); } IOFile::~IOFile() { |