diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-03-01 06:19:58 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-03-01 06:19:58 +0000 |
commit | 2ab596f9b889a552a3e3cd7ea75f85f7e85387ac (patch) | |
tree | bc66a44f36659dd362b770b6f9f500ced285a722 | |
parent | e94087c279902302c826fa33747cb5998c0323d3 (diff) |
Get rid of "shadowing outer local varable" warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@67153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | lib/tmpdir.rb | 4 | ||||
-rw-r--r-- | version.h | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/tmpdir.rb b/lib/tmpdir.rb index eaa67bc58e..bd09c58fad 100644 --- a/lib/tmpdir.rb +++ b/lib/tmpdir.rb @@ -84,9 +84,9 @@ class Dir # def self.mktmpdir(prefix_suffix=nil, *rest) base = nil - path = Tmpname.create(prefix_suffix || "d", *rest) {|path, _, _, d| + path = Tmpname.create(prefix_suffix || "d", *rest) {|pth, _, _, d| base = d - mkdir(path, 0700) + mkdir(pth, 0700) } if block_given? begin @@ -1,10 +1,10 @@ #define RUBY_VERSION "2.4.6" -#define RUBY_RELEASE_DATE "2019-02-28" -#define RUBY_PATCHLEVEL 349 +#define RUBY_RELEASE_DATE "2019-03-01" +#define RUBY_PATCHLEVEL 350 #define RUBY_RELEASE_YEAR 2019 -#define RUBY_RELEASE_MONTH 2 -#define RUBY_RELEASE_DAY 28 +#define RUBY_RELEASE_MONTH 3 +#define RUBY_RELEASE_DAY 1 #include "ruby/version.h" |