mirror of
https://github.com/github/codeql.git
synced 2026-01-29 22:32:58 +01:00
Simplify more code
This commit is contained in:
@@ -684,8 +684,7 @@ module URL {
|
||||
}
|
||||
|
||||
override predicate hasTaintFlow(DataFlow::FunctionInput inp, DataFlow::FunctionOutput outp) {
|
||||
inp.isReceiver() and
|
||||
if getName() = "Password" then outp.isResult(0) else outp.isResult()
|
||||
inp.isReceiver() and outp.isResult(0)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user