diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-17 23:59:00 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-17 23:59:00 +0000 |
commit | a9c86b883d49f8c744858689901a2e4a91fef41c (patch) | |
tree | 0e7a9ba73acb9f87680adc74b276bc1f60ee2a73 | |
parent | 3960aacd57a49e899a4b785d75251199668fc124 (diff) | |
download | ruby-a9c86b883d49f8c744858689901a2e4a91fef41c.tar.gz |
ruby.c: unnecessary variable
* ruby.c (open_load_file): remove unnecessary nested local
variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ruby.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1803,7 +1803,7 @@ open_load_file(VALUE fname_v, int *xflag) } #endif if (!ruby_is_fd_loadable(fd)) { - int e = errno; + e = errno; (void)close(fd); rb_load_fail(fname_v, strerror(e)); } |