Skip to content

Commit 0895853

Browse files
committed
Delete unused testing predicate
1 parent 00d5cb7 commit 0895853

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

go/ql/lib/semmle/go/dataflow/internal/DataFlowDispatch.qll

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,3 @@ predicate golangSpecificParamArgFilter(
156156
.getACalleeWithoutVirtualDispatch()
157157
.asFunction())
158158
}
159-
160-
predicate foo(DataFlowCall call, DataFlow::Node rec0) {
161-
exists(DataFlow::Node rec | rec = call.getNode().(DataFlow::CallNode).getReceiver() |
162-
rec = rec0 and rec.getType().getUnderlyingType() instanceof InterfaceType
163-
) and
164-
not exists(Function callTarget | callTarget = call.getNode().(DataFlow::CallNode).getTarget() |
165-
not isInterfaceMethod(callTarget)
166-
)
167-
}

0 commit comments

Comments
 (0)