Python: Remove unused variable from exists expression

This commit is contained in:
Rasmus Wriedt Larsen
2020-01-08 13:21:00 +01:00
parent 0a1c91fbb8
commit b36a6aa5b5

View File

@@ -7,7 +7,7 @@ import Request
class TwistedResponse extends TaintSink {
TwistedResponse() {
exists(PythonFunctionValue func, string name, Return ret |
exists(PythonFunctionValue func, string name |
isKnownRequestHandlerMethodName(name) and
name = func.getName() and
func = getTwistedRequestHandlerMethod(name) and