aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rexml/parsers/sax2parser.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rexml/parsers/sax2parser.rb')
-rw-r--r--lib/rexml/parsers/sax2parser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rexml/parsers/sax2parser.rb b/lib/rexml/parsers/sax2parser.rb
index d0f0c5155e..1e69e14e45 100644
--- a/lib/rexml/parsers/sax2parser.rb
+++ b/lib/rexml/parsers/sax2parser.rb
@@ -87,7 +87,7 @@ module REXML
@listeners.each { |sym,match,block|
block.start_document if sym == :start_document or sym.nil?
}
- root = context = []
+ context = []
while true
event = @parser.pull
case event[0]