Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make make(1): remove unused variable jobServer



details:   https://anonhg.NetBSD.org/src/rev/36ed68782b94
branches:  trunk
changeset: 937631:36ed68782b94
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Aug 22 18:47:31 2020 +0000

description:
make(1): remove unused variable jobServer

diffstat:

 usr.bin/make/main.c |  8 +++-----
 usr.bin/make/make.h |  3 +--
 2 files changed, 4 insertions(+), 7 deletions(-)

diffs (60 lines):

diff -r 89a09db4430b -r 36ed68782b94 usr.bin/make/main.c
--- a/usr.bin/make/main.c       Sat Aug 22 18:44:22 2020 +0000
+++ b/usr.bin/make/main.c       Sat Aug 22 18:47:31 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.309 2020/08/22 17:34:25 rillig Exp $        */
+/*     $NetBSD: main.c,v 1.310 2020/08/22 18:47:31 rillig Exp $        */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -69,7 +69,7 @@
  */
 
 #ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: main.c,v 1.309 2020/08/22 17:34:25 rillig Exp $";
+static char rcsid[] = "$NetBSD: main.c,v 1.310 2020/08/22 18:47:31 rillig Exp $";
 #else
 #include <sys/cdefs.h>
 #ifndef lint
@@ -81,7 +81,7 @@
 #if 0
 static char sccsid[] = "@(#)main.c     8.3 (Berkeley) 3/19/94";
 #else
-__RCSID("$NetBSD: main.c,v 1.309 2020/08/22 17:34:25 rillig Exp $");
+__RCSID("$NetBSD: main.c,v 1.310 2020/08/22 18:47:31 rillig Exp $");
 #endif
 #endif /* not lint */
 #endif
@@ -176,7 +176,6 @@
 Boolean                        oldVars;        /* variable substitution style */
 Boolean                        checkEnvFirst;  /* -e flag */
 Boolean                        parseWarnFatal; /* -W flag */
-Boolean                        jobServer;      /* -J flag */
 static int jp_0 = -1, jp_1 = -1;       /* ends of parent job pipe */
 Boolean                        varNoExportEnv; /* -X flag */
 Boolean                        doing_depend;   /* Set while reading .depend */
@@ -521,7 +520,6 @@
                        } else {
                            Var_Append(MAKEFLAGS, "-J", VAR_GLOBAL);
                            Var_Append(MAKEFLAGS, argvalue, VAR_GLOBAL);
-                           jobServer = TRUE;
                        }
                        break;
                case 'N':
diff -r 89a09db4430b -r 36ed68782b94 usr.bin/make/make.h
--- a/usr.bin/make/make.h       Sat Aug 22 18:44:22 2020 +0000
+++ b/usr.bin/make/make.h       Sat Aug 22 18:47:31 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: make.h,v 1.120 2020/08/22 18:44:22 rillig Exp $        */
+/*     $NetBSD: make.h,v 1.121 2020/08/22 18:47:31 rillig Exp $        */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -403,7 +403,6 @@
 
 extern Boolean checkEnvFirst;  /* TRUE if environment should be searched for
                                 * variables before the global context */
-extern Boolean jobServer;      /* a jobServer already exists */
 
 extern Boolean parseWarnFatal; /* TRUE if makefile parsing warnings are
                                 * treated as errors */



Home | Main Index | Thread Index | Old Index