ruby-changes:40074
From: nobu <ko1@a...>
Date: Sun, 18 Oct 2015 08:59:07 +0900 (JST)
Subject: [ruby-changes:40074] nobu:r52155 (trunk): ruby.c: unnecessary variable
nobu 2015-10-18 08:59:00 +0900 (Sun, 18 Oct 2015) New Revision: 52155 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52155 Log: ruby.c: unnecessary variable * ruby.c (open_load_file): remove unnecessary nested local variable. Modified files: trunk/ruby.c Index: ruby.c =================================================================== --- ruby.c (revision 52154) +++ ruby.c (revision 52155) @@ -1803,7 +1803,7 @@ open_load_file(VALUE fname_v, int *xflag https://github.com/ruby/ruby/blob/trunk/ruby.c#L1803 } #endif if (!ruby_is_fd_loadable(fd)) { - int e = errno; + e = errno; (void)close(fd); rb_load_fail(fname_v, strerror(e)); } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/