projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: uninitialized variant fc in set_field_refs()
[babeltrace.git]
/
plugins
/
ctf
/
fs-sink
/
translate-trace-ir-to-ctf-ir.c
diff --git
a/plugins/ctf/fs-sink/translate-trace-ir-to-ctf-ir.c
b/plugins/ctf/fs-sink/translate-trace-ir-to-ctf-ir.c
index 4d740139c8e62973eb9b47495b0b7bf2532c8c19..699b3a5b620d9bb6abb81994704285662f6819f6 100644
(file)
--- a/
plugins/ctf/fs-sink/translate-trace-ir-to-ctf-ir.c
+++ b/
plugins/ctf/fs-sink/translate-trace-ir-to-ctf-ir.c
@@
-912,7
+912,7
@@
int set_field_refs(struct fs_sink_ctf_field_class * const fc,
uint64_t i;
uint64_t len;
struct fs_sink_ctf_field_class_struct *struct_fc;
uint64_t i;
uint64_t len;
struct fs_sink_ctf_field_class_struct *struct_fc;
- struct fs_sink_ctf_field_class_variant *var_fc;
+ struct fs_sink_ctf_field_class_variant *var_fc
= NULL
;
struct fs_sink_ctf_named_field_class *named_fc;
if (fc_type == FS_SINK_CTF_FIELD_CLASS_TYPE_STRUCT) {
struct fs_sink_ctf_named_field_class *named_fc;
if (fc_type == FS_SINK_CTF_FIELD_CLASS_TYPE_STRUCT) {
This page took
0.035974 seconds
and
4
git commands to generate.