X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/flow/UnconditionalFlowInfo.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/flow/UnconditionalFlowInfo.java index 685d8cb..4579ea7 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/flow/UnconditionalFlowInfo.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/flow/UnconditionalFlowInfo.java @@ -141,18 +141,18 @@ public class UnconditionalFlowInfo extends FlowInfo { } // Report an error if necessary - public boolean complainIfUnreachable(Statement statement, BlockScope scope, boolean didAlreadyComplain) { - - if ((this.reachMode & UNREACHABLE) != 0) { - statement.bits &= ~ASTNode.IsReachableMASK; - boolean reported = this == DEAD_END; - if (!didAlreadyComplain && reported) { - scope.problemReporter().unreachableCode(statement); - } - return reported; // keep going for fake reachable - } - return false; - } +// public boolean complainIfUnreachable(Statement statement, BlockScope scope, boolean didAlreadyComplain) { +// +// if ((this.reachMode & UNREACHABLE) != 0) { +// statement.bits &= ~ASTNode.IsReachableMASK; +// boolean reported = this == DEAD_END; +// if (!didAlreadyComplain && reported) { +// scope.problemReporter().unreachableCode(statement); +// } +// return reported; // keep going for fake reachable +// } +// return false; +// } /** * Answers a copy of the current instance