From 68bcbbd4ddef4960c7ea6884dda10854b0e012e0 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 21 Nov 2020 15:22:29 -0800 Subject: [PATCH] stop disabling assertions in libcgraph when DEBUG is undefined This is counterintuitive to developers and moreover assertions are already controllable via NDEBUG. --- lib/cgraph/cghdr.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/cgraph/cghdr.h b/lib/cgraph/cghdr.h index 131efbadf..e3ab29f5e 100644 --- a/lib/cgraph/cghdr.h +++ b/lib/cgraph/cghdr.h @@ -37,11 +37,7 @@ #ifdef HAVE_UNISTD_H #include #endif /* HAVE_UNISTD_H */ -#ifdef DEBUG #include -#else -#define assert(x) -#endif #include #ifndef streq -- 2.50.0