ustctl: Initialize counter_conf struct to zero
[deliverable/lttng-ust.git] / liblttng-ust-ctl / ustctl.c
index e7978744be681894d9cad7b769855597c09af0f1..8460dbf4f654ab06fc2954405b48ab6f6fb024bf 100644 (file)
@@ -2563,7 +2563,7 @@ int ustctl_create_counter_data(struct ustctl_daemon_counter *counter,
                struct lttng_ust_object_data **_counter_data)
 {
        struct lttng_ust_object_data *counter_data;
-       struct lttng_ust_counter_conf counter_conf;
+       struct lttng_ust_counter_conf counter_conf = {0};
        size_t i;
        int ret;
 
This page took 0.034861 seconds and 5 git commands to generate.