Module Name: src
Committed By: sjg
Date: Mon Sep 28 02:06:27 UTC 2020
Modified Files:
src/usr.bin/make: parse.c
Log Message:
Remove unnecessary dieQuietly calls
To generate a diff of this commit:
cvs rdiff -u -r1.339 -r1.340 src/usr.bin/make/parse.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/make/parse.c
diff -u src/usr.bin/make/parse.c:1.339 src/usr.bin/make/parse.c:1.340
--- src/usr.bin/make/parse.c:1.339 Mon Sep 28 01:24:34 2020
+++ src/usr.bin/make/parse.c Mon Sep 28 02:06:27 2020
@@ -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 @@ ParseMessage(char *line)
if (mtype == PARSE_FATAL) {
/* Terminate almost immediately. */
- dieQuietly(NULL, 0);
PrintOnError(NULL, NULL);
exit(1);
}
@@ -3054,7 +3053,6 @@ Parse_File(const char *name, int fd)
(void)fprintf(stderr,
"%s: Fatal errors encountered -- cannot continue",
progname);
- dieQuietly(NULL, 0);
PrintOnError(NULL, NULL);
exit(1);
}