Skip to content

Commit 8866720

Browse files
committed
JS: Remove default hasLocationInfo case
1 parent 5da968e commit 8866720

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

javascript/ql/src/semmle/javascript/dataflow/DataFlow.qll

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,7 @@ module DataFlow {
165165
predicate hasLocationInfo(
166166
string filepath, int startline, int startcolumn, int endline, int endcolumn
167167
) {
168-
filepath = "" and
169-
startline = 0 and
170-
startcolumn = 0 and
171-
endline = 0 and
172-
endcolumn = 0
168+
none()
173169
}
174170

175171
/** Gets the file this data flow node comes from. */

0 commit comments

Comments
 (0)