projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add bt_common_abort() and use it instead of abort() directly
[babeltrace.git]
/
src
/
plugins
/
ctf
/
common
/
metadata
/
ctf-meta.h
diff --git
a/src/plugins/ctf/common/metadata/ctf-meta.h
b/src/plugins/ctf/common/metadata/ctf-meta.h
index 71232b03e2500b30573cb7cea86a55eb8cca8796..3a5fec2dd8c74930ffa8ddc64af6992fecbe3378 100644
(file)
--- a/
src/plugins/ctf/common/metadata/ctf-meta.h
+++ b/
src/plugins/ctf/common/metadata/ctf-meta.h
@@
-684,7
+684,7
@@
void ctf_field_class_destroy(struct ctf_field_class *fc)
_ctf_field_class_variant_destroy((void *) fc);
break;
default:
_ctf_field_class_variant_destroy((void *) fc);
break;
default:
- abort();
+
bt_common_
abort();
}
}
}
}
@@
-1056,7
+1056,7
@@
uint64_t ctf_field_class_compound_get_field_class_count(struct ctf_field_class *
field_count = 1;
break;
default:
field_count = 1;
break;
default:
- abort();
+
bt_common_
abort();
}
return field_count;
}
return field_count;
@@
-1152,7
+1152,7
@@
const char *ctf_scope_string(enum ctf_scope scope)
case CTF_SCOPE_EVENT_PAYLOAD:
return "EVENT_PAYLOAD";
default:
case CTF_SCOPE_EVENT_PAYLOAD:
return "EVENT_PAYLOAD";
default:
- abort();
+
bt_common_
abort();
}
}
}
}
@@
-1211,7
+1211,7
@@
struct ctf_field_class *ctf_field_path_borrow_field_class(
fc = ec->payload_fc;
break;
default:
fc = ec->payload_fc;
break;
default:
- abort();
+
bt_common_
abort();
}
BT_ASSERT_DBG(fc);
}
BT_ASSERT_DBG(fc);
@@
-1474,7
+1474,7
@@
struct ctf_field_class *ctf_field_class_copy(struct ctf_field_class *fc)
copy_fc = (void *) _ctf_field_class_variant_copy((void *) fc);
break;
default:
copy_fc = (void *) _ctf_field_class_variant_copy((void *) fc);
break;
default:
- abort();
+
bt_common_
abort();
}
copy_fc->type = fc->type;
}
copy_fc->type = fc->type;
This page took
0.024412 seconds
and
4
git commands to generate.