Skip to content

Commit

Permalink
Remove the slash behind SET_CLEAR MACRO (#206)
Browse files Browse the repository at this point in the history
In some case, extra slash may casue choas. Fix it anyway

Signed-off-by: jwang <jing.j.wang@intel.com>
  • Loading branch information
jwang11 authored and wjwwood committed Jan 9, 2018
1 parent 34a4a72 commit c09f642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rcl/src/rcl/wait.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ rcl_wait_set_get_allocator(const rcl_wait_set_t * wait_set, rcl_allocator_t * al
(void *)wait_set->Type ## s, \
0, \
sizeof(rcl_ ## Type ## _t *) * wait_set->size_of_ ## Type ## s); \
wait_set->impl->Type ## _index = 0; \
wait_set->impl->Type ## _index = 0;

#define SET_CLEAR_RMW(Type, RMWStorage, RMWCount) \
/* Also clear the rmw storage. */ \
Expand Down

0 comments on commit c09f642

Please sign in to comment.