Skip to content

Commit d4074c4

Browse files
test: simplify execute logic by removing unnecessary else branch
1 parent 1b6bc2f commit d4074c4

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

rclcpp/test/rclcpp/executors/test_waitable.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ TestWaitable::execute(const std::shared_ptr<void> &)
7878
count_++;
7979
if (nullptr != on_execute_callback_) {
8080
on_execute_callback_();
81-
} else {
82-
// Removed unnecessary sleep based on TODO comment; tests should rely on explicit synchronization instead
8381
}
8482
}
8583

0 commit comments

Comments
 (0)