projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ir: do not cache variant type's alignment
[babeltrace.git]
/
formats
/
ctf
/
ir
/
event-types.c
diff --git
a/formats/ctf/ir/event-types.c
b/formats/ctf/ir/event-types.c
index 31cd2524d77570cc182dd030752fe00a3ac7feb6..91104860483220924f34880caa195803d26ce2b8 100644
(file)
--- a/
formats/ctf/ir/event-types.c
+++ b/
formats/ctf/ir/event-types.c
@@
-2504,8
+2504,6
@@
void bt_ctf_field_type_variant_freeze(struct bt_ctf_field_type *type)
struct bt_ctf_field_type_variant *variant_type = container_of(
type, struct bt_ctf_field_type_variant, parent);
struct bt_ctf_field_type_variant *variant_type = container_of(
type, struct bt_ctf_field_type_variant, parent);
- /* Cache the alignment */
- type->declaration->alignment = bt_ctf_field_type_get_alignment(type);
generic_field_type_freeze(type);
g_ptr_array_foreach(variant_type->fields,
(GFunc) freeze_structure_field, NULL);
generic_field_type_freeze(type);
g_ptr_array_foreach(variant_type->fields,
(GFunc) freeze_structure_field, NULL);
This page took
0.024946 seconds
and
4
git commands to generate.