Skip to content

Commit

Permalink
PR Fixup
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Brawner <stephenbrawner@verbsurgical.com>
  • Loading branch information
Stephen Brawner committed May 19, 2020
1 parent 152aaa3 commit 71607bc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rcl_lifecycle/src/default_state_machine.c
Original file line number Diff line number Diff line change
Expand Up @@ -705,8 +705,10 @@ fail:;
"Freeing transition map failed while handling a previous error. Leaking memory!"
"\nOriginal error:\n\t%s\nError encountered in rcl_lifecycle_transition_map_fini():\n\t%s\n",
current_error, fini_error);
} else {
} else if (strcmp(current_error, "") != 0) {
RCL_SET_ERROR_MSG(current_error);
} else {
RCL_SET_ERROR_MSG("Unspecified in default_state_machine _register_transitions()");
}

return RCL_RET_ERROR;
Expand Down

0 comments on commit 71607bc

Please sign in to comment.