diff --git a/ql/src/semmle/go/frameworks/stdlib/NetHttp.qll b/ql/src/semmle/go/frameworks/stdlib/NetHttp.qll index 6e4e86c3985..2a12e046bfb 100644 --- a/ql/src/semmle/go/frameworks/stdlib/NetHttp.qll +++ b/ql/src/semmle/go/frameworks/stdlib/NetHttp.qll @@ -218,9 +218,7 @@ module NetHttp { /** A call to the `Transport.RoundTrip` function in the `net/http` package. */ private class TransportRoundTrip extends HTTP::ClientRequest::Range, DataFlow::MethodCallNode { - TransportRoundTrip() { - this.getTarget().hasQualifiedName("net/http", "Transport", "RoundTrip") - } + TransportRoundTrip() { this.getTarget().hasQualifiedName("net/http", "Transport", "RoundTrip") } override DataFlow::Node getUrl() { // A URL passed to `NewRequest`, whose result is passed to this `RoundTrip` call