summaryrefslogtreecommitdiff
path: root/lib/rdoc/markup
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-08 20:58:28 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-08 20:58:28 +0000
commit571ed8655fa499084114024c4a7f249228a8bc3d (patch)
tree608386c3e9a39d9a11e48a15b28df896ea272f76 /lib/rdoc/markup
parentec67ee3387e5e1e70c6c6997c651f5eff49043cb (diff)
downloadruby-571ed8655fa499084114024c4a7f249228a8bc3d.tar.gz
* 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
Diffstat (limited to 'lib/rdoc/markup')
-rw-r--r--lib/rdoc/markup/attribute_manager.rb1
-rw-r--r--lib/rdoc/markup/parser.rb2
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