Skip to content

Commit

Permalink
Resolve merge conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: Sumanth Nirmal <sumanth.724@gmail.com>
  • Loading branch information
sumanth-nirmal committed Mar 24, 2022
1 parent 23429fc commit bbbb793
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/core/ddsc/src/shm_monitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,8 @@ static void shm_subscriber_callback(iox_sub_t subscriber, void * context_data);
void shm_monitor_init(shm_monitor_t* monitor)
{
// storage is ignored internally now but we cannot pass a nullptr
iox_listener_storage_t s;
monitor->m_listener = iox_listener_init(&s);
iox_user_trigger_storage_t t;
monitor->m_wakeup_trigger = iox_user_trigger_init(&t);
monitor->m_listener = iox_listener_init(&(iox_listener_storage_t){0});
monitor->m_wakeup_trigger = iox_user_trigger_init(&(iox_user_trigger_storage_t){0});

monitor->m_state = SHM_MONITOR_RUNNING;
}
Expand Down

0 comments on commit bbbb793

Please sign in to comment.