mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rdoc/*.rb: Remove unused variable warnings.
Patch by Run Paint [ruby-core:30991] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ec67ee3387
commit
571ed8655f
7 changed files with 6 additions and 10 deletions
|
@ -387,7 +387,7 @@ class RDoc::Markup::Parser
|
|||
# Skips a token of +token_type+, optionally raising an error.
|
||||
|
||||
def skip token_type, error = true
|
||||
type, data, = get
|
||||
type, = get
|
||||
|
||||
return unless type # end of stream
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue