Skip to content

Commit b36a6aa

Browse files
committed
Python: Remove unused variable from exists expression
1 parent 0a1c91f commit b36a6aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/src/semmle/python/web/twisted/Response.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import Request
77

88
class TwistedResponse extends TaintSink {
99
TwistedResponse() {
10-
exists(PythonFunctionValue func, string name, Return ret |
10+
exists(PythonFunctionValue func, string name |
1111
isKnownRequestHandlerMethodName(name) and
1212
name = func.getName() and
1313
func = getTwistedRequestHandlerMethod(name) and

0 commit comments

Comments
 (0)