call abort() only when NDEBUG is not defined
authorceriel <none@none>
Fri, 25 Feb 1994 14:01:54 +0000 (14:01 +0000)
committerceriel <none@none>
Fri, 25 Feb 1994 14:01:54 +0000 (14:01 +0000)
util/opt/util.c

index ae412b1..71a56ed 100644 (file)
@@ -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);
 }