X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Ferror-query.c;fp=src%2Fcommon%2Ferror-query.c;h=8bee203977ddec1c27a6b399f53b78a4e6ceb479;hp=a3663ad7c72e3bccd8926a28e2655459729655c5;hb=c7627a89bbd6696a667acf0f52cc8a4fe876d3f1;hpb=fcf27bee908a5384316bef111bf42cc595e5e717 diff --git a/src/common/error-query.c b/src/common/error-query.c index a3663ad7c..8bee20397 100644 --- a/src/common/error-query.c +++ b/src/common/error-query.c @@ -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) {