Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make Remove unnecessary dieQuietly calls



details:   https://anonhg.NetBSD.org/src/rev/d0b030a3ee6a
branches:  trunk
changeset: 955399:d0b030a3ee6a
user:      sjg <sjg%NetBSD.org@localhost>
date:      Mon Sep 28 02:06:27 2020 +0000

description:
Remove unnecessary dieQuietly calls

diffstat:

 usr.bin/make/parse.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r d97ff00fe1f8 -r d0b030a3ee6a usr.bin/make/parse.c
--- a/usr.bin/make/parse.c      Mon Sep 28 01:24:34 2020 +0000
+++ b/usr.bin/make/parse.c      Mon Sep 28 02:06:27 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: parse.c,v 1.339 2020/09/28 01:24:34 sjg Exp $  */
+/*     $NetBSD: parse.c,v 1.340 2020/09/28 02:06:27 sjg Exp $  */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -132,7 +132,7 @@
 #include "pathnames.h"
 
 /*     "@(#)parse.c    8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: parse.c,v 1.339 2020/09/28 01:24:34 sjg Exp $");
+MAKE_RCSID("$NetBSD: parse.c,v 1.340 2020/09/28 02:06:27 sjg Exp $");
 
 /* types and constants */
 
@@ -778,7 +778,6 @@
 
     if (mtype == PARSE_FATAL) {
        /* Terminate almost immediately. */
-       dieQuietly(NULL, 0);
        PrintOnError(NULL, NULL);
        exit(1);
     }
@@ -3054,7 +3053,6 @@
        (void)fprintf(stderr,
            "%s: Fatal errors encountered -- cannot continue",
            progname);
-       dieQuietly(NULL, 0);
        PrintOnError(NULL, NULL);
        exit(1);
     }



Home | Main Index | Thread Index | Old Index