diff options
author | obrien <obrien@FreeBSD.org> | 2006-07-17 21:05:27 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2006-07-17 21:05:27 +0000 |
commit | 1926f541c8d3e0635563f843613ca35e54eba4bc (patch) | |
tree | 8f47f0166d4fc5a34379cfbe37b6003357efe2db /usr.bin/make/var.c | |
parent | bd869cbeea84f280dea85190294a79c4a2bb608b (diff) | |
download | FreeBSD-src-1926f541c8d3e0635563f843613ca35e54eba4bc.zip FreeBSD-src-1926f541c8d3e0635563f843613ca35e54eba4bc.tar.gz |
VarAdd() already does the debug printing, so Var_Set() only needs to do it
in the case the var already exists.
Diffstat (limited to 'usr.bin/make/var.c')
-rw-r--r-- | usr.bin/make/var.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/make/var.c b/usr.bin/make/var.c index fec988d..259a672 100644 --- a/usr.bin/make/var.c +++ b/usr.bin/make/var.c @@ -1025,10 +1025,9 @@ Var_Set(const char *name, const char *val, GNode *ctxt) */ setenv(n, val, 1); } - + DEBUGF(VAR, ("%s:%s = %s\n", ctxt->name, n, val)); } - DEBUGF(VAR, ("%s:%s = %s\n", ctxt->name, n, val)); free(n); } |