ruby-changes:56247
From: Nobuyoshi <ko1@a...>
Date: Fri, 28 Jun 2019 12:42:53 +0900 (JST)
Subject: [ruby-changes:56247] Nobuyoshi Nakada: 4562dad94c (trunk): Removed unused variable
https://git.ruby-lang.org/ruby.git/commit/?id=4562dad94c From 4562dad94c6af3db5af8704b0aec64119456275d Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Fri, 28 Jun 2019 12:36:03 +0900 Subject: Removed unused variable diff --git a/tool/mkconfig.rb b/tool/mkconfig.rb index edfdda2..586eb9e 100755 --- a/tool/mkconfig.rb +++ b/tool/mkconfig.rb @@ -347,7 +347,7 @@ print <<EOS https://github.com/ruby/ruby/blob/trunk/tool/mkconfig.rb#L347 # # returns updated keys list, or +nil+ if nothing changed. def RbConfig.fire_update!(key, val, mkconf = MAKEFILE_CONFIG, conf = CONFIG) - return if (old = mkconf[key]) == val + return if mkconf[key] == val mkconf[key] = val keys = [key] deps = [] -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/