build: util.c: avoid warnings about add_envopt
authorJim Meyering <meyering@redhat.com>
Fri, 20 Nov 2009 17:54:38 +0000 (18:54 +0100)
committerJim Meyering <meyering@redhat.com>
Fri, 20 Nov 2009 18:29:31 +0000 (19:29 +0100)
commitbbb664482ab9f3fb959a04588e8490fd2d9fea5c
tree6c85a716d228538f6af758104cf27be93734a3bd
parente67b41c47c96cede8a89dd7403791a2e245a01d1
build: util.c: avoid warnings about add_envopt

* util.c (add_envopt): The parameter "env" was used for two conflicting
purposes.  One use required a const char* parameter, while the other
was used as an argument to free, which must not be "const".
Rename the parameter and use a new local variable for the second role.
util.c