aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rexml/parsers/xpathparser.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rexml/parsers/xpathparser.rb')
-rw-r--r--lib/rexml/parsers/xpathparser.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/rexml/parsers/xpathparser.rb b/lib/rexml/parsers/xpathparser.rb
index 2db37a2578..780e312671 100644
--- a/lib/rexml/parsers/xpathparser.rb
+++ b/lib/rexml/parsers/xpathparser.rb
@@ -282,7 +282,6 @@ module REXML
PI = /^processing-instruction\(/
def NodeTest path, parsed
#puts "NodeTest with #{path}"
- res = nil
case path
when /^\*/
path = $'
@@ -578,7 +577,6 @@ module REXML
NUMBER = /^(\d*\.?\d+)/
NT = /^comment|text|processing-instruction|node$/
def PrimaryExpr path, parsed
- arry = []
case path
when VARIABLE_REFERENCE
varname = $1