From 3bbd95d420cbdbba2d1403ab718168ca0ef20f6b Mon Sep 17 00:00:00 2001 From: Ryan Gustafson Date: Thu, 18 Sep 2008 07:34:50 +0000 Subject: [PATCH] Remove unused local variable. git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6494 51baf565-9d33-0410-a72c-fc3788e3496d --- .../sourceforge/pmd/lang/rule/xpath/SaxonXPathRuleQuery.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/pmd/src/net/sourceforge/pmd/lang/rule/xpath/SaxonXPathRuleQuery.java b/pmd/src/net/sourceforge/pmd/lang/rule/xpath/SaxonXPathRuleQuery.java index 23b03405d0..a00ce1cb3e 100644 --- a/pmd/src/net/sourceforge/pmd/lang/rule/xpath/SaxonXPathRuleQuery.java +++ b/pmd/src/net/sourceforge/pmd/lang/rule/xpath/SaxonXPathRuleQuery.java @@ -104,8 +104,6 @@ public class SaxonXPathRuleQuery extends AbstractXPathRuleQuery { } } - Expression expression = xpathExpression.getInternalExpression(); - List nodes = xpathExpression.evaluate(xpathDynamicContext); for (ElementNode elementNode : nodes) { results.add((Node) elementNode.getUnderlyingNode());