From 5bcb76ebbdd17bad25c81a3261a00d15f752ad9a Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 3 Apr 2018 06:25:10 +0000 Subject: removed never used variable git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/file.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'win32/file.c') diff --git a/win32/file.c b/win32/file.c index fe3f7c02d3..446720c2f7 100644 --- a/win32/file.c +++ b/win32/file.c @@ -264,7 +264,6 @@ rb_file_expand_path_internal(VALUE fname, VALUE dname, int abs_mode, int long_na size_t size = 0, whome_len = 0; size_t buffer_len = 0; long wpath_len = 0, wdir_len = 0; - char *fullpath = NULL; wchar_t *wfullpath = NULL, *wpath = NULL, *wpath_pos = NULL; wchar_t *wdir = NULL, *wdir_pos = NULL; wchar_t *whome = NULL, *buffer = NULL, *buffer_pos = NULL; @@ -597,9 +596,6 @@ rb_file_expand_path_internal(VALUE fname, VALUE dname, int abs_mode, int long_na if (wfullpath != wfullpath_buffer) xfree(wfullpath); - if (fullpath) - xfree(fullpath); - rb_enc_associate(result, path_encoding); return result; } -- cgit v1.2.3