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
/
event.cpp
diff --git
a/src/common/event.cpp
b/src/common/event.cpp
index e17a560cf811bd5dd781200d1cdcf7385927b690..37c346621b1dd956995259f4687e100d09ea153c 100644
(file)
--- a/
src/common/event.cpp
+++ b/
src/common/event.cpp
@@
-113,7
+113,9
@@
static int lttng_event_function_attr_serialize(
{
int ret;
size_t symbol_name_len;
{
int ret;
size_t symbol_name_len;
- struct lttng_event_function_attr_comm comm = { 0 };
+ struct lttng_event_function_attr_comm comm;
+
+ comm.symbol_name_len = 0;
symbol_name_len = lttng_strnlen(
function->symbol_name, sizeof(function->symbol_name));
symbol_name_len = lttng_strnlen(
function->symbol_name, sizeof(function->symbol_name));
This page took
0.022676 seconds
and
4
git commands to generate.