Build fix: missing initializer for member 'payload'
[lttng-tools.git] / src / common / evaluation.cpp
index e6ebeec8e2680b07ef37850847bd67ff62281630..2b57de62cbb5ab07c37cceb9e38bd63188390194 100644 (file)
@@ -25,9 +25,9 @@ int lttng_evaluation_serialize(const struct lttng_evaluation *evaluation,
                struct lttng_payload *payload)
 {
        int ret;
-       struct lttng_evaluation_comm evaluation_comm = {
-               .type = (int8_t) evaluation->type
-       };
+       struct lttng_evaluation_comm evaluation_comm;
+
+       evaluation_comm.type = (int8_t) evaluation->type;
 
        ret = lttng_dynamic_buffer_append(&payload->buffer, &evaluation_comm,
                        sizeof(evaluation_comm));
This page took 0.022674 seconds and 4 git commands to generate.