projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Build fix: missing initializer for member 'payload'
[lttng-tools.git]
/
src
/
common
/
evaluation.cpp
diff --git
a/src/common/evaluation.cpp
b/src/common/evaluation.cpp
index e6ebeec8e2680b07ef37850847bd67ff62281630..2b57de62cbb5ab07c37cceb9e38bd63188390194 100644
(file)
--- a/
src/common/evaluation.cpp
+++ b/
src/common/evaluation.cpp
@@
-25,9
+25,9
@@
int lttng_evaluation_serialize(const struct lttng_evaluation *evaluation,
struct lttng_payload *payload)
{
int ret;
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));
ret = lttng_dynamic_buffer_append(&payload->buffer, &evaluation_comm,
sizeof(evaluation_comm));
This page took
0.023672 seconds
and
4
git commands to generate.