putenv: avoid compilation warning on mingw
authorEric Blake <eblake@redhat.com>
Mon, 11 Mar 2013 12:15:41 +0000 (06:15 -0600)
committerEric Blake <eblake@redhat.com>
Mon, 11 Mar 2013 12:16:18 +0000 (06:16 -0600)
commit162b3eb8ff8eca18d7c6cfbe3a4b98aa4e5972ce
treebfb0d8e36a380cc872adb1306429f1efee21453f
parent932b2c718ad00478a69c277ed4dc87469b32ba54
putenv: avoid compilation warning on mingw

On mingw, I got:

../../tests/putenv.c: In function '_unsetenv':
../../tests/putenv.c:65:10: warning: unused variable 'ep'

* lib/putenv.c (_unsetenv): Protect variable declaration.
(putenv): Fix indentation.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
lib/putenv.c