aboutsummaryrefslogtreecommitdiff
path: root/src/common/dynamic_library.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-08-16 06:17:30 -0400
committerLioncash <mathew1800@gmail.com>2020-08-16 06:17:33 -0400
commitd09456fc41acf626ebc9687e50124d18c75ef804 (patch)
tree13978123fbe34c7433399e2027bda5e7f1edd823 /src/common/dynamic_library.cpp
parentdb96034ea429cf0b0b5e2bac790392d9e2f50990 (diff)
common: Silence two discarded result warnings
These are intentionally discarded internally, since the rest of the public API allows querying success. We want all non-internal uses of these functions to be explicitly checked, so we can signify that we intentionally want to discard the return values here.
Diffstat (limited to 'src/common/dynamic_library.cpp')
-rw-r--r--src/common/dynamic_library.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/dynamic_library.cpp b/src/common/dynamic_library.cpp
index 7ab54e9e44..7f0a105217 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