Module Name: src
Committed By: rillig
Date: Mon May 9 21:24:42 UTC 2022
Modified Files:
src/usr.bin/make: var.c
Log Message:
make: remove obsolete comment
All instances of VarFind that could be replaced with VarFindSubstring
have been replaced.
To generate a diff of this commit:
cvs rdiff -u -r1.1019 -r1.1020 src/usr.bin/make/var.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/var.c
diff -u src/usr.bin/make/var.c:1.1019 src/usr.bin/make/var.c:1.1020
--- src/usr.bin/make/var.c:1.1019 Sun Mar 27 18:39:01 2022
+++ src/usr.bin/make/var.c Mon May 9 21:24:42 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: var.c,v 1.1019 2022/03/27 18:39:01 rillig Exp $ */
+/* $NetBSD: var.c,v 1.1020 2022/05/09 21:24:42 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -139,7 +139,7 @@
#include "metachar.h"
/* "@(#)var.c 8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: var.c,v 1.1019 2022/03/27 18:39:01 rillig Exp $");
+MAKE_RCSID("$NetBSD: var.c,v 1.1020 2022/05/09 21:24:42 rillig Exp $");
/*
* Variables are defined using one of the VAR=value assignments. Their
@@ -452,7 +452,6 @@ VarFindSubstring(Substring name, GNode *
return var;
}
-/* TODO: Replace these calls with VarFindSubstring, as far as possible. */
static Var *
VarFind(const char *name, GNode *scope, bool elsewhere)
{