summaryrefslogtreecommitdiffstats
path: root/lib/rexml
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-01 13:55:08 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-01 13:55:08 +0000
commit97d783015d26e2ffe6ff21d08ab74de8bb61ac57 (patch)
tree13ddc8d73c6ebb940edca707458689ce2f12851e /lib/rexml
parentf62b901b4aa66ddbf1e2a2f445c8316f3e8cbc3d (diff)
downloadruby-97d783015d26e2ffe6ff21d08ab74de8bb61ac57.tar.gz
ruby-97d783015d26e2ffe6ff21d08ab74de8bb61ac57.tar.xz
ruby-97d783015d26e2ffe6ff21d08ab74de8bb61ac57.zip
* lib/rexml/parsers/lightparser.rb, lib/debug.rb: remove unused when
clauses. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rexml')
-rw-r--r--lib/rexml/parsers/lightparser.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/rexml/parsers/lightparser.rb b/lib/rexml/parsers/lightparser.rb
index 6993aba25..ca9692c44 100644
--- a/lib/rexml/parsers/lightparser.rb
+++ b/lib/rexml/parsers/lightparser.rb
@@ -26,8 +26,6 @@ module REXML
case event[0]
when :end_document
break
- when :end_doctype
- context = context[1]
when :start_element, :start_doctype
new_node = event
context << new_node