mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
removed never used variable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
577d258eba
commit
5bcb76ebbd
1 changed files with 0 additions and 4 deletions
|
@ -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 size = 0, whome_len = 0;
|
||||||
size_t buffer_len = 0;
|
size_t buffer_len = 0;
|
||||||
long wpath_len = 0, wdir_len = 0;
|
long wpath_len = 0, wdir_len = 0;
|
||||||
char *fullpath = NULL;
|
|
||||||
wchar_t *wfullpath = NULL, *wpath = NULL, *wpath_pos = NULL;
|
wchar_t *wfullpath = NULL, *wpath = NULL, *wpath_pos = NULL;
|
||||||
wchar_t *wdir = NULL, *wdir_pos = NULL;
|
wchar_t *wdir = NULL, *wdir_pos = NULL;
|
||||||
wchar_t *whome = NULL, *buffer = NULL, *buffer_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)
|
if (wfullpath != wfullpath_buffer)
|
||||||
xfree(wfullpath);
|
xfree(wfullpath);
|
||||||
|
|
||||||
if (fullpath)
|
|
||||||
xfree(fullpath);
|
|
||||||
|
|
||||||
rb_enc_associate(result, path_encoding);
|
rb_enc_associate(result, path_encoding);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue