Notification iterator: transform precondition checks to BT_ASSERT_PRE()
[babeltrace.git] / plugins / utils / counter / counter.c
index 406a76ee6326ba991626a6e40a92945ec2e8a4b8..f3e61e6dc3f40a9c4452f9267660fa96b1b93beb 100644 (file)
@@ -199,7 +199,7 @@ void counter_port_connected(
        connection = bt_private_port_get_private_connection(self_port);
        BT_ASSERT(connection);
        conn_status = bt_private_connection_create_notification_iterator(
-               connection, NULL, &iterator);
+               connection, &iterator);
        if (conn_status != BT_CONNECTION_STATUS_OK) {
                counter->error = true;
                goto end;
This page took 0.028162 seconds and 4 git commands to generate.