diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2023-04-17 15:53:13 -0700 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2023-04-17 15:57:10 -0700 |
commit | 110cf873add8ae7c34c184d56f7b097683bb4007 (patch) | |
tree | 4a3a2ae3b7605b554613408f1dd6323eabf92921 /openmp | |
parent | b3529b5bf3ba2cd7f38665de16450afefb263c9b (diff) | |
download | llvm-110cf873add8ae7c34c184d56f7b097683bb4007.tar.gz |
[OpenMP][NFC] Silence warning
Diffstat (limited to 'openmp')
-rw-r--r-- | openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp | 2 |
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() { |