X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Fctf%2Ffs-src%2Fdata-stream-file.c;h=2859ffbe2bd9d01e7ce62b4548922cbe9fec4b04;hb=0fbb9a9fffe22e0d5211a47118102fa0ba4a766a;hp=bf3dda60839051fa614f900196e1cda1d32a8964;hpb=5af447e5102d6226ee198e4db52b51e12075f1bb;p=babeltrace.git diff --git a/plugins/ctf/fs-src/data-stream-file.c b/plugins/ctf/fs-src/data-stream-file.c index bf3dda60..2859ffbe 100644 --- a/plugins/ctf/fs-src/data-stream-file.c +++ b/plugins/ctf/fs-src/data-stream-file.c @@ -22,6 +22,7 @@ * SOFTWARE. */ +#include #include #include #include @@ -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. */ - assert(false); + abort(); 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: - assert(false); + abort(); case BT_CTF_NOTIF_ITER_STATUS_INVAL: case BT_CTF_NOTIF_ITER_STATUS_ERROR: default: