ruby-changes:50859
From: nobu <ko1@a...>
Date: Tue, 3 Apr 2018 15:25:15 +0900 (JST)
Subject: [ruby-changes:50859] nobu:r63066 (trunk): removed never used variable
nobu 2018-04-03 15:25:10 +0900 (Tue, 03 Apr 2018) New Revision: 63066 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63066 Log: removed never used variable Modified files: trunk/win32/file.c Index: win32/file.c =================================================================== --- win32/file.c (revision 63065) +++ win32/file.c (revision 63066) @@ -264,7 +264,6 @@ rb_file_expand_path_internal(VALUE fname https://github.com/ruby/ruby/blob/trunk/win32/file.c#L264 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 https://github.com/ruby/ruby/blob/trunk/win32/file.c#L596 if (wfullpath != wfullpath_buffer) xfree(wfullpath); - if (fullpath) - xfree(fullpath); - rb_enc_associate(result, path_encoding); return result; } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/