X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Ferror-query.c;h=8bee203977ddec1c27a6b399f53b78a4e6ceb479;hb=c7627a89bbd6696a667acf0f52cc8a4fe876d3f1;hp=266597b3dcc935ec5444444bcce9b2f30760f3e6;hpb=702f26c8641ee4554c629d13b9367b1e93f96e31;p=lttng-tools.git diff --git a/src/common/error-query.c b/src/common/error-query.c index 266597b3d..8bee20397 100644 --- a/src/common/error-query.c +++ b/src/common/error-query.c @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include #include #include @@ -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) {