lastenv is only used in setenv.
Prevents an unused variable warning on platforms that have setenv but not unsetenv.
This commit is contained in:
parent
a1f78e08bd
commit
0f494236b4
|
@ -39,7 +39,9 @@
|
|||
#include <string.h>
|
||||
|
||||
extern char **environ;
|
||||
#ifndef HAVE_SETENV
|
||||
static char **lastenv; /* last value of environ */
|
||||
#endif
|
||||
|
||||
/* OpenSSH Portable: __findenv is from getenv.c rev 1.8, made static */
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue