Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Yadu <[email protected]>
Signed-off-by: Chris Lalancette <[email protected]>
  • Loading branch information
clalancette and Yadunund authored Jun 24, 2024
1 parent d531692 commit 42a82ab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion rmw_zenoh_cpp/src/detail/event.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ bool EventsManager::detach_condition_and_event_queue_is_empty(rmw_zenoh_event_ty
"RMW Zenoh is not correctly configured to handle rmw_zenoh_event_type_t [%d]. "
"Report this bug.",
event_id);
return false;
return true;
}

std::lock_guard<std::mutex> lock(event_condition_mutex_);
Expand Down
1 change: 0 additions & 1 deletion rmw_zenoh_cpp/src/rmw_zenoh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3289,7 +3289,6 @@ rmw_wait(

// According to the documentation for rmw_wait in rmw.h, entries in the various arrays that have
// *not* been triggered should be set to NULL

if (guard_conditions) {
for (size_t i = 0; i < guard_conditions->guard_condition_count; ++i) {
rmw_zenoh_cpp::GuardCondition * gc =
Expand Down

0 comments on commit 42a82ab

Please sign in to comment.