]> git.droids-corp.org - protos/libecoli.git/blobdiff - lib/ecoli_assert.c
use helper in cmd node
[protos/libecoli.git] / lib / ecoli_assert.c
index c2850e1cfa394ef79e8759f51a549ca712cf65c2..a36d6f688b1116fe1593b995365c106b154ed9cb 100644 (file)
@@ -16,9 +16,11 @@ void __ec_assert_print(bool expr, const char *expr_str, const char *format, ...)
        if (expr)
                return;
 
+       /* LCOV_EXCL_START */
        va_start(ap, format);
        fprintf(stderr, "assertion failed: '%s' is false\n", expr_str);
        vfprintf(stderr, format, ap);
        va_end(ap);
        abort();
+       /* LCOV_EXCL_END */
 }