Zero initialize events an size_of_events members of rcl_wait_set_t (#841)
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
This commit is contained in:
parent
675dbac13f
commit
fd2f427563
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue