Skip to content

Commit

Permalink
Delete unnecessary call for get_node_by_group (#823)
Browse files Browse the repository at this point in the history
Signed-off-by: Tomoya.Fujita <Tomoya.Fujita@sony.com>
  • Loading branch information
fujitatomoya authored and ivanpauno committed Aug 20, 2019
1 parent 25f1969 commit 65188b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rclcpp/src/rclcpp/executor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ Executor::get_next_timer(AnyExecutable & any_exec)
if (timer && timer->is_ready()) {
any_exec.timer = timer;
any_exec.callback_group = group;
node = get_node_by_group(group);
any_exec.node_base = node;
return;
}
}
Expand Down

0 comments on commit 65188b0

Please sign in to comment.