]> source.dussan.org Git - poi.git/commitdiff
Remove unused local variable
authorDominik Stadler <centic@apache.org>
Sun, 28 Dec 2014 09:09:11 +0000 (09:09 +0000)
committerDominik Stadler <centic@apache.org>
Sun, 28 Dec 2014 09:09:11 +0000 (09:09 +0000)
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

index 1bae4fda3130d7c8e4f9e01253c23c8428d9e5d2..72ed008cf1ffd3077668908a92e798c3ac79e548 100644 (file)
@@ -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)) {