Improved error "Unreachable code" for if statements
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / DocumentElementParser.java
index b2f8ef1..509ac89 100644 (file)
@@ -1027,7 +1027,7 @@ public class DocumentElementParser extends UnitParser {
     try {
       initialize();
       goForCompilationUnit();
-      referenceContext = compilationUnit = compilationUnit = new CompilationUnitDeclaration(problemReporter(),
+      referenceContext = compilationUnit = new CompilationUnitDeclaration(problemReporter(),
           new CompilationResult(unit, 0, 0, 10), //this.options.maxProblemsPerUnit),
           regionSource.length);
       scanner.resetTo(0, regionSource.length);