ir: allow to set variant FT's tag FT even when frozen
[babeltrace.git] / formats / ctf / ir / event-types.c
index 37a0d14f879dfcaeebfd4e431442d7355de26bb4..1c5e4765c1d0c99a9e3ca507683660e7a906dcd0 100644 (file)
@@ -2590,8 +2590,8 @@ int bt_ctf_field_type_variant_set_tag(struct bt_ctf_field_type *type,
        int ret = 0;
        struct bt_ctf_field_type_variant *variant;
 
-       if (!type || !tag || type->frozen ||
-               bt_ctf_field_type_get_type_id(tag) != CTF_TYPE_ENUM) {
+       if (!type || !tag ||
+                       bt_ctf_field_type_get_type_id(tag) != CTF_TYPE_ENUM) {
                ret = -1;
                goto end;
        }
This page took 0.026007 seconds and 4 git commands to generate.