diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-18 04:35:25 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-18 04:35:25 +0000 |
commit | 20685cdc85ff218093194176a20b9568c98254e7 (patch) | |
tree | 173c7711b791dbd6cca60d7448094e968d8e8f88 /dir.c | |
parent | 593d9786464c94db9c776a5a968dcf65cbc1d9d4 (diff) | |
download | ruby-20685cdc85ff218093194176a20b9568c98254e7.tar.gz |
Get rid of shadowing local variables
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r-- | dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2154,8 +2154,8 @@ glob_helper( } #if USE_NAME_ON_FS == USE_NAME_ON_FS_REAL_BASENAME if ((*cur)->type == ALPHA) { - long base = pathlen + (dirsep != 0); - buf = replace_real_basename(buf, base, enc, IF_NORMALIZE_UTF8PATH(1)+0, + buf = replace_real_basename(buf, pathlen + (dirsep != 0), enc, + IF_NORMALIZE_UTF8PATH(1)+0, flags, &new_pathtype); if (!buf) break; } |