mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
win32.c: unused variable
* win32/win32.c (envarea): remove no longer used variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
195bee47b7
commit
4a26246beb
1 changed files with 0 additions and 9 deletions
|
@ -610,7 +610,6 @@ static int NtSocketsInitialized = 0;
|
|||
static st_table *socklist = NULL;
|
||||
static st_table *conlist = NULL;
|
||||
#define conlist_disabled ((st_table *)-1)
|
||||
static char *envarea;
|
||||
static char *uenvarea;
|
||||
|
||||
/* License: Ruby's */
|
||||
|
@ -660,10 +659,6 @@ exit_handler(void)
|
|||
st_free_table(conlist);
|
||||
conlist = NULL;
|
||||
}
|
||||
if (envarea) {
|
||||
FreeEnvironmentStrings(envarea);
|
||||
envarea = NULL;
|
||||
}
|
||||
if (uenvarea) {
|
||||
free(uenvarea);
|
||||
uenvarea = NULL;
|
||||
|
@ -4636,10 +4631,6 @@ w32_getenv(const char *name, UINT cp)
|
|||
free(uenvarea);
|
||||
uenvarea = NULL;
|
||||
}
|
||||
if (envarea) {
|
||||
FreeEnvironmentStrings(envarea);
|
||||
envarea = NULL;
|
||||
}
|
||||
wenvarea = GetEnvironmentStringsW();
|
||||
if (!wenvarea) {
|
||||
map_errno(GetLastError());
|
||||
|
|
Loading…
Reference in a new issue