Skip to content

Commit 3def8ec

Browse files
committed
JS: Remove unimportant TODO
1 parent 388dd87 commit 3def8ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/lib/semmle/javascript/dataflow/internal/DataFlowPrivate.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1401,7 +1401,7 @@ predicate readStep(Node node1, ContentSet c, Node node2) {
14011401
// shift known array indices
14021402
c.asSingleton().asArrayIndex() = content.asArrayIndex() + restIndex
14031403
or
1404-
content.isUnknownArrayElement() and // TODO: don't read unknown array elements from static array
1404+
content.isUnknownArrayElement() and
14051405
c = ContentSet::arrayElementUnknown()
14061406
)
14071407
or

0 commit comments

Comments
 (0)