Always evaluate BT_ASSERT(); add BT_ASSERT_DBG() for debug mode only
[babeltrace.git] / src / compat / stdio.h
index a484ed2994cabd5023c4c4345f0abc829498f7a9..12a7ba65e8845f0fc8593d2d9fbdf7d4d7f7dca5 100644 (file)
@@ -94,7 +94,7 @@ ssize_t bt_getline(char **lineptr, size_t *n, FILE *stream)
                                /* ferror() is set, errno set by fgetc(). */
                                return -1;
                        }
-                       BT_ASSERT(feof(stream));
+                       BT_ASSERT_DBG(feof(stream));
                        found_eof = 1;
                        break;
                }
This page took 0.024634 seconds and 4 git commands to generate.