From 624fa31129e402999287fba7c52dc0c5838cc423 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Thu, 1 Jun 2017 17:25:51 -0400 Subject: [PATCH] Fix: test-utils-muxer.c: initialize "next" return with OK status MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- tests/plugins/test-utils-muxer.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/plugins/test-utils-muxer.c b/tests/plugins/test-utils-muxer.c index 5871e6614..a706b99b4 100644 --- a/tests/plugins/test-utils-muxer.c +++ b/tests/plugins/test-utils-muxer.c @@ -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 = -- 2.34.1