diff options
Diffstat (limited to 'lib/rdoc/markup')
-rw-r--r-- | lib/rdoc/markup/attribute_manager.rb | 1 | ||||
-rw-r--r-- | lib/rdoc/markup/parser.rb | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/rdoc/markup/attribute_manager.rb b/lib/rdoc/markup/attribute_manager.rb index 37014b6e9f..e86e7f6812 100644 --- a/lib/rdoc/markup/attribute_manager.rb +++ b/lib/rdoc/markup/attribute_manager.rb @@ -265,7 +265,6 @@ class RDoc::Markup::AttributeManager def split_into_flow res = [] current_attr = 0 - str = "" str_len = @str.length diff --git a/lib/rdoc/markup/parser.rb b/lib/rdoc/markup/parser.rb index c214f74782..9fba69dc29 100644 --- a/lib/rdoc/markup/parser.rb +++ b/lib/rdoc/markup/parser.rb @@ -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 |