Skip to content

Commit 3409f4e

Browse files
committed
Remove superfluous disjunct of beginAbruptCompletion
1 parent 742d1b4 commit 3409f4e

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

go/ql/lib/semmle/go/controlflow/ControlFlowGraphShared.qll

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -732,12 +732,6 @@ module GoCfg {
732732
n.isIn(ast) and
733733
c.asSimpleAbruptCompletion() instanceof ExceptionSuccessor and
734734
always = false
735-
or
736-
ast instanceof Go::GotoStmt and
737-
n.injects(ast) and
738-
c.getSuccessorType() instanceof GotoSuccessor and
739-
c.hasLabel(ast.(Go::GotoStmt).getLabel()) and
740-
always = true
741735
}
742736

743737
predicate endAbruptCompletion(Ast::AstNode ast, PreControlFlowNode n, AbruptCompletion c) {

0 commit comments

Comments
 (0)