summaryrefslogtreecommitdiff
path: root/openmp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2023-04-17 15:53:13 -0700
committerJohannes Doerfert <johannes@jdoerfert.de>2023-04-17 15:57:10 -0700
commit110cf873add8ae7c34c184d56f7b097683bb4007 (patch)
tree4a3a2ae3b7605b554613408f1dd6323eabf92921 /openmp
parentb3529b5bf3ba2cd7f38665de16450afefb263c9b (diff)
downloadllvm-110cf873add8ae7c34c184d56f7b097683bb4007.tar.gz
[OpenMP][NFC] Silence warning
Diffstat (limited to 'openmp')
-rw-r--r--openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp b/openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp
index 12098c202a74..982a000ab486 100644
--- a/openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp
+++ b/openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp
@@ -206,7 +206,7 @@ AsyncInfoWrapperTy::AsyncInfoWrapperTy(GenericDeviceTy &Device,
AsyncInfoPtr(AsyncInfoPtr ? AsyncInfoPtr : &LocalAsyncInfo) {
// Mark the success as checked. Otherwise, it would produce an error when
// re-assigned another error value.
- !Err;
+ (void)!Err;
}
Error AsyncInfoWrapperTy::finalize() {