Fix: test-utils-muxer.c: initialize "next" return with OK status
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 1 Jun 2017 21:25:51 +0000 (17:25 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 9 Jun 2017 20:58:14 +0000 (16:58 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/plugins/test-utils-muxer.c

index 5871e6614dc232d8ca237b98b2de25d534deaf79..a706b99b4b8577bca24ee426cd1fbf0f2c8cab31 100644 (file)
@@ -591,7 +591,10 @@ static
 struct bt_notification_iterator_next_return src_iter_next(
                struct bt_private_notification_iterator *priv_iterator)
 {
-       struct bt_notification_iterator_next_return next_return;
+       struct bt_notification_iterator_next_return next_return = {
+               .notification = NULL,
+               .status = BT_NOTIFICATION_ITERATOR_STATUS_OK,
+       };
        struct src_iter_user_data *user_data =
                bt_private_notification_iterator_get_user_data(priv_iterator);
        struct bt_private_component *private_component =
This page took 0.026175 seconds and 4 git commands to generate.