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]
/
plugins
/
ctf
/
fs-src
/
data-stream-file.c
diff --git
a/plugins/ctf/fs-src/data-stream-file.c
b/plugins/ctf/fs-src/data-stream-file.c
index bf3dda60839051fa614f900196e1cda1d32a8964..2859ffbe2bd9d01e7ce62b4548922cbe9fec4b04 100644
(file)
--- a/
plugins/ctf/fs-src/data-stream-file.c
+++ b/
plugins/ctf/fs-src/data-stream-file.c
@@
-22,6
+22,7
@@
* SOFTWARE.
*/
* SOFTWARE.
*/
+#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
@@
-465,7
+466,7
@@
struct bt_notification_iterator_next_return ctf_fs_ds_file_next(
* medium-specific; there is nothing for the user to do
* and it should have been handled upstream.
*/
* medium-specific; there is nothing for the user to do
* and it should have been handled upstream.
*/
- a
ssert(false
);
+ a
bort(
);
case BT_CTF_NOTIF_ITER_STATUS_INVAL:
case BT_CTF_NOTIF_ITER_STATUS_ERROR:
default:
case BT_CTF_NOTIF_ITER_STATUS_INVAL:
case BT_CTF_NOTIF_ITER_STATUS_ERROR:
default:
@@
-498,7
+499,7
@@
int ctf_fs_ds_file_get_packet_header_context_fields(
case BT_CTF_NOTIF_ITER_STATUS_OK:
break;
case BT_CTF_NOTIF_ITER_STATUS_AGAIN:
case BT_CTF_NOTIF_ITER_STATUS_OK:
break;
case BT_CTF_NOTIF_ITER_STATUS_AGAIN:
- a
ssert(false
);
+ a
bort(
);
case BT_CTF_NOTIF_ITER_STATUS_INVAL:
case BT_CTF_NOTIF_ITER_STATUS_ERROR:
default:
case BT_CTF_NOTIF_ITER_STATUS_INVAL:
case BT_CTF_NOTIF_ITER_STATUS_ERROR:
default:
This page took
0.024275 seconds
and
4
git commands to generate.