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 Oct 28, 2020
1 parent 5ef4b2d commit 28b1c29
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 28b1c29

Please sign in to comment.