Skip to content

Commit eb3c33d

Browse files
committed
python: remove erronous getACall()
`base` is already the `CallNode` we want.
1 parent 2296410 commit eb3c33d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

python/ql/lib/semmle/python/dataflow/new/FlowSummary.qll

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,7 @@ private class SummarizedCallableFromModel extends SummarizedCallable {
100100
this = type + ";" + path
101101
}
102102

103-
override CallCfgNode getACall() {
104-
exists(API::CallNode base |
105-
ModelOutput::resolvedSummaryBase(type, path, base) and
106-
result = base.getACall()
107-
)
108-
}
103+
override CallCfgNode getACall() { ModelOutput::resolvedSummaryBase(type, path, result) }
109104

110105
override ArgumentNode getACallback() {
111106
exists(API::Node base |

0 commit comments

Comments
 (0)