aboutsummaryrefslogtreecommitdiffstats
path: root/src/java
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2014-12-28 09:09:11 +0000
committerDominik Stadler <centic@apache.org>2014-12-28 09:09:11 +0000
commit96cfbb9cc5c59abd7e747897a8a44911d805c2a8 (patch)
tree584470351ad9300b580fdc7e38f5b6584f25f2fe /src/java
parent9c41ad8b677edd78c5d92aee8aba7acbf6c44b1a (diff)
downloadpoi-96cfbb9cc5c59abd7e747897a8a44911d805c2a8.tar.gz
poi-96cfbb9cc5c59abd7e747897a8a44911d805c2a8.zip
Remove unused local variable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1648159 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java')
-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)) {