Replace all assert(false) and assert(0) with abort()
[babeltrace.git] / include / babeltrace / ctf-writer / serialize-internal.h
index 39cb791361aa47bd818ccf8ea6dbed78023d1b93..5cf8c5bd660a787a54d7f61df37df993dff5371b 100644 (file)
@@ -26,6 +26,7 @@
  * http://www.efficios.com/ctf
  */
 
+#include <stdlib.h>
 #include <stdint.h>
 #include <limits.h>
 #include <sys/mman.h>
@@ -131,7 +132,7 @@ int bt_ctf_stream_pos_init(struct bt_ctf_stream_pos *pos,
                pos->flags = MAP_SHARED;
                break;
        default:
-               assert(BT_FALSE);
+               abort();
        }
 
        return 0;
This page took 0.02402 seconds and 4 git commands to generate.