Add bt_common_abort() and use it instead of abort() directly
[babeltrace.git] / src / plugins / ctf / common / metadata / ctf-meta-translate.c
index 1ac7aac311737f47db692275da19ec3ec867e954..1499a7f9545c43fbb57ed09356b2e50a3e779aae 100644 (file)
@@ -427,7 +427,7 @@ bt_field_class *ctf_field_class_to_ir(struct ctx *ctx,
                ir_fc = ctf_field_class_variant_to_ir(ctx, (void *) fc);
                break;
        default:
-               abort();
+               bt_common_abort();
        }
 
        fc->ir_fc = ir_fc;
@@ -485,7 +485,7 @@ bt_field_class *scope_ctf_field_class_to_ir(struct ctx *ctx)
                fc = ctx->ec->payload_fc;
                break;
        default:
-               abort();
+               bt_common_abort();
        }
 
        if (fc && ctf_field_class_struct_has_immediate_member_in_ir(
This page took 0.02317 seconds and 4 git commands to generate.