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 | 051aa17e05b038c83fb369155635eedfe1034873 (patch) | |
tree | 173c7711b791dbd6cca60d7448094e968d8e8f88 /dir.c | |
parent | 9ec0e7b2c4230a012e894e72589364d2aeb59529 (diff) | |
download | ruby-051aa17e05b038c83fb369155635eedfe1034873.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; } |