Warn unused (#327)
* comply with unused warnings * fix flakiness and add test for transitions * mark flaky test * duplicate const char * in State constructor * linters * correct year in license * mark flaky test
This commit is contained in:
parent
5777bbee79
commit
708903e5df
5 changed files with 118 additions and 16 deletions
|
@ -90,17 +90,13 @@ Transition::label() const
|
|||
State
|
||||
Transition::start_state() const
|
||||
{
|
||||
return State(
|
||||
transition_handle_->start->id,
|
||||
transition_handle_->start->label);
|
||||
return State(transition_handle_->start);
|
||||
}
|
||||
|
||||
State
|
||||
Transition::goal_state() const
|
||||
{
|
||||
return State(
|
||||
transition_handle_->goal->id,
|
||||
transition_handle_->goal->label);
|
||||
return State(transition_handle_->goal);
|
||||
}
|
||||
|
||||
} // namespace rclcpp_lifecycle
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue