Skip to content

Commit

Permalink
Zero initialize events an size_of_events members of rcl_wait_set_t (#841
Browse files Browse the repository at this point in the history
)

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
  • Loading branch information
jacobperron authored and ahcorde committed Nov 2, 2020
1 parent 675dbac commit fd2f427
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rcl/src/rcl/wait.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ rcl_get_zero_initialized_wait_set()
.size_of_services = 0,
.timers = NULL,
.size_of_timers = 0,
.events = NULL,
.size_of_events = 0,
.impl = NULL,
};
return null_wait_set;
Expand Down

0 comments on commit fd2f427

Please sign in to comment.