diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-06-23 22:16:19 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-06-23 22:16:19 +0000 |
commit | 4a26246bebbd0df03e8f814f937b1dae3f57cbb4 (patch) | |
tree | f30a35449d9b2c9e82fefa14ccda89caaf8b3043 /win32/win32.c | |
parent | 195bee47b7884406423d393c80356b3bdd8f980d (diff) | |
download | ruby-4a26246bebbd0df03e8f814f937b1dae3f57cbb4.tar.gz |
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
Diffstat (limited to 'win32/win32.c')
-rw-r--r-- | win32/win32.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/win32/win32.c b/win32/win32.c index 900a9cc42d..ef1d7a9e3b 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -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()); |