From: Philippe Proulx Date: Thu, 1 Jun 2017 21:25:51 +0000 (-0400) Subject: Fix: test-utils-muxer.c: initialize "next" return with OK status X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=624fa31129e402999287fba7c52dc0c5838cc423;p=deliverable%2Fbabeltrace.git Fix: test-utils-muxer.c: initialize "next" return with OK status Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- 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 =