aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/java/org/apache/poi/ss/formula/FormulaParser.java3
1 files changed, 0 insertions, 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)) {