Skip to content

Commit 9dfd1cc

Browse files
committed
Python: Fixup broken patch
1 parent e4a1847 commit 9dfd1cc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

python/ql/src/semmle/python/functions/ModificationOfParameterWithDefault.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ module ModificationOfParameterWithDefault {
4545
copyTarget(node) and state in [true, false]
4646
}
4747

48-
private predicate observeDiffInformedIncrementalMode() { any() }
49-
50-
predicate copyTarget(DataFlow::Node node) {
48+
private predicate copyTarget(DataFlow::Node node) {
5149
node = API::moduleImport("copy").getMember(["copy", "deepcopy"]).getACall()
5250
or
5351
node.(DataFlow::MethodCallNode).calls(_, "copy")

0 commit comments

Comments
 (0)