Skip to content

Commit 283c711

Browse files
committed
deprecate unused predicate inside the essa module
1 parent 1cbf283 commit 283c711

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

python/ql/lib/semmle/python/essa/SsaDefinitions.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ module SsaSource {
7878

7979
/** Holds if `v` is defined by a `for` statement, the definition being `defn` */
8080
cached
81-
predicate iteration_defined_variable(Variable v, ControlFlowNode defn, ControlFlowNode sequence) {
81+
deprecated predicate iteration_defined_variable(
82+
Variable v, ControlFlowNode defn, ControlFlowNode sequence
83+
) {
8284
exists(ForNode for | for.iterates(defn, sequence)) and
8385
defn.(NameNode).defines(v)
8486
}

0 commit comments

Comments
 (0)