Skip to content

Commit 006ce9d

Browse files
committed
condition is redundant and should be removed
1 parent 4219f46 commit 006ce9d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

CodeQL_Queries/cpp/Chrome/callbacks.qll

-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ predicate reach(Function f, Function g) {
104104
else
105105
overrides*(g, gc.getTarget())
106106
|
107-
g = gc.getTarget() and
108107
gc.getEnclosingFunction() = f
109108
) or
110109
exists(CallbackSinks sink | sink.getEnclosingCallable() = f and

0 commit comments

Comments
 (0)