diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-06-28 12:36:03 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-06-28 12:39:14 +0900 |
commit | 4562dad94c6af3db5af8704b0aec64119456275d (patch) | |
tree | 9fc94237ec314860f4944cc66c9b7ad3a2cc4666 /tool | |
parent | 7eaedda557f689087861e6c0e7c9abca8cd92fc1 (diff) | |
download | ruby-4562dad94c6af3db5af8704b0aec64119456275d.tar.gz |
Removed unused variable
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/mkconfig.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/mkconfig.rb b/tool/mkconfig.rb index edfdda203b..586eb9ec59 100755 --- a/tool/mkconfig.rb +++ b/tool/mkconfig.rb @@ -347,7 +347,7 @@ print <<EOS # # 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 = [] |