From 179b7eaa6b377c97f006342dbbadf3310cc2c3d3 Mon Sep 17 00:00:00 2001 From: mame Date: Wed, 1 Oct 2008 13:55:08 +0000 Subject: [PATCH] * lib/rexml/parsers/lightparser.rb, lib/debug.rb: remove unused when clauses. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ lib/debug.rb | 3 --- lib/rexml/parsers/lightparser.rb | 2 -- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 40502525bf..a97871343b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Oct 1 22:54:09 2008 Yusuke Endoh + + * lib/rexml/parsers/lightparser.rb, lib/debug.rb: remove unused when + clauses. + Wed Oct 1 22:43:59 2008 Yusuke Endoh * lib/xmlrpc, lib/rexml, test/ruby/test_array.rb, diff --git a/lib/debug.rb b/lib/debug.rb index 8a2f4f1a12..77be345a07 100644 --- a/lib/debug.rb +++ b/lib/debug.rb @@ -711,9 +711,6 @@ EOHELP end @frames.shift - when 'end' - @frames.shift - when 'raise' excn_handle(file, line, id, binding) diff --git a/lib/rexml/parsers/lightparser.rb b/lib/rexml/parsers/lightparser.rb index 6993aba254..ca9692c449 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