Browse Source
Merge pull request #4539 from lioncash/disc
common: Silence two discarded result warnings
pull/15/merge
bunnei
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
3 deletions
-
src/common/dynamic_library.cpp
-
src/common/file_util.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 |
|
|
|
|
|
|
|
@ -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() { |
|
|
|
|