Skip to content

Commit

Permalink
Add needed extra null check
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Perez <jjperez@ekumenlabs.com>
  • Loading branch information
Blast545 committed Jul 8, 2020
1 parent 70eba5e commit 6ac9a75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rcl/src/rcl/remap.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ rcl_remap_copy(
{
RCL_CHECK_ARGUMENT_FOR_NULL(rule, RCL_RET_INVALID_ARGUMENT);
RCL_CHECK_ARGUMENT_FOR_NULL(rule_out, RCL_RET_INVALID_ARGUMENT);
RCL_CHECK_ARGUMENT_FOR_NULL(rule->impl, RCL_RET_INVALID_ARGUMENT);

if (NULL != rule_out->impl) {
RCL_SET_ERROR_MSG("rule_out must be zero initialized");
Expand Down

0 comments on commit 6ac9a75

Please sign in to comment.