Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Kucera2008-02-13 16:35:11 +0000
committerMike Kucera2008-02-13 16:35:11 +0000
commit628c4193a92bb2dffc3fdf700eaf35012bb52b72 (patch)
tree704443d786711c773b44738e6d06c9619d494a2e /core/org.eclipse.cdt.core
parentfb951de0fa26c8143d5871ba8ddf863a195fd2e7 (diff)
downloadorg.eclipse.cdt-628c4193a92bb2dffc3fdf700eaf35012bb52b72.tar.gz
org.eclipse.cdt-628c4193a92bb2dffc3fdf700eaf35012bb52b72.tar.xz
org.eclipse.cdt-628c4193a92bb2dffc3fdf700eaf35012bb52b72.zip
removed unnecesary Arrays.fill() from ambiguity nodes
Diffstat (limited to 'core/org.eclipse.cdt.core')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/c/CASTAmbiguity.java1
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTAmbiguity.java1
2 files changed, 0 insertions, 2 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/c/CASTAmbiguity.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/c/CASTAmbiguity.java
index f2246e2a846..207475ea92a 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/c/CASTAmbiguity.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/c/CASTAmbiguity.java
@@ -57,7 +57,6 @@ public abstract class CASTAmbiguity extends CASTNode {
public boolean accept(ASTVisitor visitor) {
IASTNode [] nodez = getNodes();
int [] issues = new int[ nodez.length ];
- Arrays.fill( issues, 0 );
for( int i = 0; i < nodez.length; ++i )
{
IASTNode s = nodez[i];
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTAmbiguity.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTAmbiguity.java
index 0f639bc2c3b..17b57c0b88b 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTAmbiguity.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTAmbiguity.java
@@ -57,7 +57,6 @@ public abstract class CPPASTAmbiguity extends CPPASTNode {
// if( debugging )
// printNode();
int[] issues = new int[nodez.length];
- Arrays.fill(issues, 0);
for (int i = 0; i < nodez.length; ++i) {
IASTNode s = nodez[i];
s.accept( visitor );

Back to the top