X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fevent.cpp;h=f33518eee4eece45c2c8ce762cb22765a682209b;hb=406a14fe0eadfc78e6f143c749df0ef91e15bef5;hp=4207b73471c5b943778c120950f3b7df849fc080;hpb=85eb6b831768b7390539d239c8efa37777ccab1f;p=lttng-tools.git diff --git a/src/common/event.cpp b/src/common/event.cpp index 4207b7347..f33518eee 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -1237,7 +1237,9 @@ int lttng_event_context_serialize(struct lttng_event_context *context, struct lttng_payload *payload) { int ret; - struct lttng_event_context_comm context_comm = { 0 }; + struct lttng_event_context_comm context_comm; + + context_comm.type = 0; assert(context); assert(payload);