From: Matthew Fernandez Date: Sat, 21 Nov 2020 23:22:29 +0000 (-0800) Subject: stop disabling assertions in libcgraph when DEBUG is undefined X-Git-Tag: 2.46.1~28^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=68bcbbd4ddef4960c7ea6884dda10854b0e012e0;p=graphviz stop disabling assertions in libcgraph when DEBUG is undefined This is counterintuitive to developers and moreover assertions are already controllable via NDEBUG. --- 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