Python: remove redundant code

This commit is contained in:
yoff
2022-08-25 12:48:08 +00:00
parent 6b4716485b
commit 9aa8b46cbf

View File

@@ -746,14 +746,7 @@ private class SummaryPostUpdateNode extends SummaryNode, PostUpdateNode {
}
/** Gets a viable run-time target for the call `call`. */
DataFlowCallable viableCallable(DataFlowSourceCall call) {
result = call.getCallable()
or
exists(LibraryCallable callable |
result = TLibraryCallable(callable) and
call.getNode().getNode() = callable.getACall()
)
}
DataFlowCallable viableCallable(DataFlowSourceCall call) { result = call.getCallable() }
private newtype TReturnKind = TNormalReturnKind()