From 96cfbb9cc5c59abd7e747897a8a44911d805c2a8 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Sun, 28 Dec 2014 09:09:11 +0000 Subject: [PATCH] Remove unused local variable git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1648159 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/poi/ss/formula/FormulaParser.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/java/org/apache/poi/ss/formula/FormulaParser.java b/src/java/org/apache/poi/ss/formula/FormulaParser.java index 1bae4fda31..72ed008cf1 100644 --- a/src/java/org/apache/poi/ss/formula/FormulaParser.java +++ b/src/java/org/apache/poi/ss/formula/FormulaParser.java @@ -1040,13 +1040,11 @@ public final class FormulaParser { } boolean missedPrevArg = true; - int numArgs = 0; while (true) { SkipWhite(); if (isArgumentDelimiter(look)) { if (missedPrevArg) { temp.add(new ParseNode(MissingArgPtg.instance)); - numArgs++; } if (look == ')') { break; @@ -1056,7 +1054,6 @@ public final class FormulaParser { continue; } temp.add(comparisonExpression()); - numArgs++; missedPrevArg = false; SkipWhite(); if (!isArgumentDelimiter(look)) { -- 2.39.5