Always evaluate BT_ASSERT(); add BT_ASSERT_DBG() for debug mode only
[babeltrace.git] / src / lib / prio-heap / prio-heap.c
index 952b3b861318a50c83150b775ad993282bb1ff6b..78b9802cab0900bacacbe3918b1b57adba301549 100644 (file)
@@ -40,7 +40,7 @@ void check_heap(const struct ptr_heap *heap)
                return;
 
        for (i = 1; i < heap->len; i++)
-               BT_ASSERT(!heap->gt(heap->ptrs[i], heap->ptrs[0]));
+               BT_ASSERT_DBG(!heap->gt(heap->ptrs[i], heap->ptrs[0]));
 }
 #endif
 
This page took 0.023191 seconds and 4 git commands to generate.