aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-08-07 10:34:10 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-08-07 10:34:10 +0000
commit6419c3704ea17fb7549ab16bfaa6c998e08747db (patch)
treee1ba9a1aed09d53006e85490023df15743520506 /tool
parent7242eb7330c74291babaa50fc73ae9572e6cd8d4 (diff)
downloadruby-6419c3704ea17fb7549ab16bfaa6c998e08747db.tar.gz
vcs.rb: suppress warnings
* tool/vcs.rb (VCS#modified): get rid of set but unused variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rw-r--r--tool/vcs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/vcs.rb b/tool/vcs.rb
index 9d0a276937..93d642efec 100644
--- a/tool/vcs.rb
+++ b/tool/vcs.rb
@@ -138,7 +138,7 @@ class VCS
end
def modified(path)
- last, changed, modified, *rest = get_revisions(path)
+ _, _, modified, * = get_revisions(path)
modified
end