1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2016-08-07 10:34:10 +00:00
parent 489456e999
commit df0e70b90a

View file

@ -138,7 +138,7 @@ class VCS
end end
def modified(path) def modified(path)
last, changed, modified, *rest = get_revisions(path) _, _, modified, * = get_revisions(path)
modified modified
end end