Add bt_common_abort() and use it instead of abort() directly
[babeltrace.git] / src / ctf-writer / resolve.c
index 4636e1c55348786ec6122624ba5cc94244606980..ccb55a24bd9f0767a17c465d79ac75532e667c4c 100644 (file)
@@ -975,7 +975,7 @@ int validate_target_field_path(struct bt_ctf_field_path *target_field_path,
                }
                break;
        default:
-               abort();
+               bt_common_abort();
        }
 
 end:
@@ -1012,7 +1012,7 @@ int resolve_sequence_or_variant_type(struct bt_ctf_field_type_common *type,
                        bt_ctf_field_type_common_variant_get_tag_name(type);
                break;
        default:
-               abort();
+               bt_common_abort();
        }
 
        if (!pathstr) {
@@ -1087,7 +1087,7 @@ int resolve_sequence_or_variant_type(struct bt_ctf_field_type_common *type,
                }
                break;
        default:
-               abort();
+               bt_common_abort();
        }
 
 end:
This page took 0.023835 seconds and 4 git commands to generate.