X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Factions%2Fpath.cpp;fp=src%2Fcommon%2Factions%2Fpath.cpp;h=612ade8c31a69e7696312c9882c145b1700335e4;hp=41fb92e27bddfc2e599a72807e9de7feefaeb216;hb=5611a81d91d828e052b4be76bd9bd725d2088656;hpb=6bd798094fff9f499d840131dd6b61104d0823ce diff --git a/src/common/actions/path.cpp b/src/common/actions/path.cpp index 41fb92e27..612ade8c3 100644 --- a/src/common/actions/path.cpp +++ b/src/common/actions/path.cpp @@ -188,9 +188,7 @@ int lttng_action_path_serialize(const struct lttng_action_path *action_path, goto end; } - comm = { - .index_count = (uint32_t) index_count, - }; + comm.index_count = (uint32_t) index_count; ret = lttng_dynamic_buffer_append(&payload->buffer, &comm, sizeof(struct lttng_action_path_comm));