event-notifier: Initialize `_notifier_notification` struct to zero
[lttng-ust.git] / liblttng-ust / event-notifier-notification.c
index ed2c8d28ae217823acace539b5d3e9c777d816c6..5bbbbd31064a6743a2b2d7b2119d704a4c063f28 100644 (file)
@@ -315,7 +315,7 @@ void notification_send(struct lttng_event_notifier_notification *notif,
        ssize_t ret;
        size_t content_len;
        int iovec_count = 1;
-       struct lttng_ust_event_notifier_notification ust_notif;
+       struct lttng_ust_event_notifier_notification ust_notif = {0};
        struct iovec iov[2];
 
        assert(notif);
This page took 0.024156 seconds and 4 git commands to generate.