projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace all assert(false) and assert(0) with abort()
[babeltrace.git]
/
lib
/
ctf-ir
/
trace.c
diff --git
a/lib/ctf-ir/trace.c
b/lib/ctf-ir/trace.c
index 890e12c4d1ad67c01a2fd64cc164d4e4ee938396..bcba9b1dca28cda36e2fd5e2811f8e5afa695c04 100644
(file)
--- a/
lib/ctf-ir/trace.c
+++ b/
lib/ctf-ir/trace.c
@@
-52,6
+52,7
@@
#include <inttypes.h>
#include <stdint.h>
#include <string.h>
+#include <stdlib.h>
#define DEFAULT_IDENTIFIER_SIZE 128
#define DEFAULT_METADATA_STRING_SIZE 4096
@@
-1630,7
+1631,7
@@
const char *get_byte_order_string(enum bt_ctf_byte_order byte_order)
string = "native";
break;
default:
- a
ssert(BT_FALSE
);
+ a
bort(
);
}
return string;
This page took
0.036842 seconds
and
4
git commands to generate.