summaryrefslogtreecommitdiff
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
commitdf0e70b90a3198295b5640b36c57ef1266a7a258 (patch)
treee1ba9a1aed09d53006e85490023df15743520506
parent489456e9996a4004825bb968cb956097b955fa9d (diff)
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
-rw-r--r--tool/vcs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/vcs.rb b/tool/vcs.rb
index 9d0a276..93d642e 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