Skip to content

Commit

Permalink
Supress unused variable warning in release mode
Browse files Browse the repository at this point in the history
  • Loading branch information
kboyarinov committed Jun 28, 2024
1 parent aa68fc4 commit 72f34ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/oneapi/tbb/detail/_flow_graph_join_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -756,6 +756,8 @@
if (!find_result) {
__TBB_ASSERT(false, "Failed to find item corresponding to current_key.");
}
#else
tbb::detail::suppress_unused_warning(find_result);
#endif
current->status.store( SUCCEEDED, std::memory_order_release);
}
Expand Down

0 comments on commit 72f34ad

Please sign in to comment.