Module Name:    src
Committed By:   rillig
Date:           Sun Mar 14 20:23:29 UTC 2021

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

Log Message:
make: fix documentation of VarFreeEnv

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.882 -r1.883 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.882 src/usr.bin/make/var.c:1.883
--- src/usr.bin/make/var.c:1.882	Sun Mar 14 20:18:33 2021
+++ src/usr.bin/make/var.c	Sun Mar 14 20:23:29 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: var.c,v 1.882 2021/03/14 20:18:33 rillig Exp $	*/
+/*	$NetBSD: var.c,v 1.883 2021/03/14 20:23:29 rillig Exp $	*/
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -140,7 +140,7 @@
 #include "metachar.h"
 
 /*	"@(#)var.c	8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: var.c,v 1.882 2021/03/14 20:18:33 rillig Exp $");
+MAKE_RCSID("$NetBSD: var.c,v 1.883 2021/03/14 20:23:29 rillig Exp $");
 
 typedef enum VarFlags {
 	VFL_NONE	= 0,
@@ -461,13 +461,7 @@ VarFind(const char *name, GNode *scope, 
 	return var;
 }
 
-/*
- * If the variable is an environment variable, free it, including its value.
- *
- * Results:
- *	TRUE if it was an environment variable,
- *	FALSE if it is still a regular variable.
- */
+/* If the variable is an environment variable, free it, including its value. */
 static void
 VarFreeEnv(Var *v)
 {

Reply via email to