Module Name:    src
Committed By:   rillig
Date:           Sun Nov  8 14:19:15 UTC 2020

Modified Files:
        src/usr.bin/make: main.c

Log Message:
make(1): remove redundant comment from main_ReadFiles

The code has become so simple that it made the comment redundant.


To generate a diff of this commit:
cvs rdiff -u -r1.451 -r1.452 src/usr.bin/make/main.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/main.c
diff -u src/usr.bin/make/main.c:1.451 src/usr.bin/make/main.c:1.452
--- src/usr.bin/make/main.c:1.451	Sun Nov  8 13:10:30 2020
+++ src/usr.bin/make/main.c	Sun Nov  8 14:19:15 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: main.c,v 1.451 2020/11/08 13:10:30 rillig Exp $	*/
+/*	$NetBSD: main.c,v 1.452 2020/11/08 14:19:15 rillig Exp $	*/
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -109,7 +109,7 @@
 #include "trace.h"
 
 /*	"@(#)main.c	8.3 (Berkeley) 3/19/94"	*/
-MAKE_RCSID("$NetBSD: main.c,v 1.451 2020/11/08 13:10:30 rillig Exp $");
+MAKE_RCSID("$NetBSD: main.c,v 1.452 2020/11/08 14:19:15 rillig Exp $");
 #if defined(MAKE_NATIVE) && !defined(lint)
 __COPYRIGHT("@(#) Copyright (c) 1988, 1989, 1990, 1993 "
 	    "The Regents of the University of California.  "
@@ -1521,13 +1521,10 @@ main_Init(int argc, char **argv)
 static void
 main_ReadFiles(void)
 {
-	/*
-	 * Read in the built-in rules first, followed by the specified
-	 * makefiles, or the default makefile and Makefile, in that order,
-	 * if no makefiles were given on the command line.
-	 */
+
 	if (!opts.noBuiltins)
 		ReadBuiltinRules();
+
 	if (!Lst_IsEmpty(opts.makefiles))
 		ReadAllMakefiles(opts.makefiles);
 	else

Reply via email to