VarAdd() already does the debug printing, so Var_Set() only needs to do it

in the case the var already exists.
This commit is contained in:
obrien 2006-07-17 21:05:27 +00:00
parent bd869cbeea
commit 1926f541c8

View File

@ -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);
}