mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-22 10:00:14 +00:00
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
Block a user