Skip to content

Commit

Permalink
Address feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Brawner <[email protected]>
  • Loading branch information
brawner committed Aug 27, 2020
1 parent b2fca1a commit 09d4797
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rmw/src/topic_endpoint_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ _rmw_topic_endpoint_info_copy_str(
rcutils_allocator_t * allocator)
{
RCUTILS_CAN_RETURN_WITH_ERROR_OF(RMW_RET_INVALID_ARGUMENT);
RCUTILS_CAN_RETURN_WITH_ERROR_OF(RMW_RET_BAD_ALLOC);

if (!str) {
RMW_SET_ERROR_MSG("str is null");
Expand Down

0 comments on commit 09d4797

Please sign in to comment.