Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
- if (type_id == CTF_TYPE_STRUCT || type_id == CTF_TYPE_VARIANT ||
- type_id == CTF_TYPE_SEQUENCE || type_id == CTF_TYPE_ARRAY) {
+ if (type_id == CTF_TYPE_VARIANT || type_id == CTF_TYPE_SEQUENCE ||
+ type_id == CTF_TYPE_ARRAY) {
/* Setting an alignment on these types makes no sense */
ret = -1;
goto end;
/* Setting an alignment on these types makes no sense */
ret = -1;
goto end;