Skip to content

Commit 9d61004

Browse files
committed
remove redundant constructor on sink
1 parent 3a14651 commit 9d61004

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

javascript/ql/src/semmle/javascript/security/dataflow/TaintedPathCustomizations.qll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ module TaintedPath {
1919
* A data flow sink for tainted-path vulnerabilities.
2020
*/
2121
abstract class Sink extends DataFlow::Node {
22-
Sink() { not this instanceof Sanitizer }
23-
2422
/** Gets a flow label denoting the type of value for which this is a sink. */
2523
DataFlow::FlowLabel getAFlowLabel() { result instanceof Label::PosixPath }
2624
}

0 commit comments

Comments
 (0)