Fix: error-query: uninitialized action_index value
[lttng-tools.git] / src / common / error-query.c
index a3663ad7c72e3bccd8926a28e2655459729655c5..8bee203977ddec1c27a6b399f53b78a4e6ceb479 100644 (file)
@@ -127,7 +127,7 @@ extern struct lttng_error_query *lttng_error_query_action_create(
                const struct lttng_action *action)
 {
        struct lttng_error_query_action *query = NULL;
-       typeof(query->action_index) action_index;
+       typeof(query->action_index) action_index = {};
        struct lttng_trigger *trigger_copy = NULL;
 
        if (!trigger || !action) {
This page took 0.022865 seconds and 4 git commands to generate.