Skip to content

Commit 67c0515

Browse files
committed
Cfg: Undo consistency check change.
1 parent a2a4e82 commit 67c0515

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared/controlflow/codeql/controlflow/ControlFlowGraph.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1990,7 +1990,7 @@ module Make0<LocationSig Location, AstSig<Location> Ast> {
19901990

19911991
/** Holds if `n` does not have a unique enclosing callable. */
19921992
query predicate nonUniqueEnclosingCallable(AstNode n, int callables) {
1993-
callables = count(getEnclosingCallable(n)) and callables != 1
1993+
callables = strictcount(getEnclosingCallable(n)) and callables > 1
19941994
}
19951995

19961996
/**

0 commit comments

Comments
 (0)