From: ceriel Date: Fri, 25 Feb 1994 14:01:54 +0000 (+0000) Subject: call abort() only when NDEBUG is not defined X-Git-Tag: release-5-5~179 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=af0e9371e96b63ef38b5ad981f86f196f51c46be;p=ack.git call abort() only when NDEBUG is not defined --- diff --git a/util/opt/util.c b/util/opt/util.c index ae412b179..71a56edca 100644 --- a/util/opt/util.c +++ b/util/opt/util.c @@ -29,7 +29,9 @@ error(s,a) char *s,*a; { fprintf(stderr,": "); fprintf(stderr,s,a); fprintf(stderr,"\n"); +#ifndef NDEBUG abort(); +#endif exit(-1); }