>From 0c672d2e3f11ae13ec35cc6c5615f745d233e686 Mon Sep 17 00:00:00 2001 From: Paul Eggert
Date: Fri, 3 May 2019 12:38:28 -0700 Subject: [PATCH] Simplify use of NDEBUG in etags.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * lib-src/etags.c [!DEBUG]: Do not define NDEBUG, as thatâs conf_post.hâs job now. [NDEBUG]: Do not redefine âassertâ, as that works around ancient bugs (e.g., sunos4 pcc) that donât matter any more, as can be seen that other Emacs source files that successfully use assert.h without this workaround. --- lib-src/etags.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/lib-src/etags.c b/lib-src/etags.c index 362897fb0c..949ab5a2c6 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c @@ -84,10 +84,7 @@ char pot_etags_version[] = "@(#) pot revision number is 17.38.1.4"; # undef DEBUG # define DEBUG true #else -# define DEBUG false -# ifndef NDEBUG -# define NDEBUG /* disable assert */ -# endif +# define DEBUG false #endif #include