1
0
mirror of https://github.com/golang/go synced 2024-11-12 08:00:22 -07:00

net/http: remove unnecessary return

Change-Id: I93bc5de6bcb23c2639d7c2f3f5252fb6f09ca6e4
Reviewed-on: https://go-review.googlesource.com/126797
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Tim Cooper 2018-07-30 18:59:08 -03:00 committed by Brad Fitzpatrick
parent 89d533e368
commit 77c575d2e2

View File

@ -3176,7 +3176,6 @@ func (h *timeoutHandler) ServeHTTP(w ResponseWriter, r *Request) {
w.WriteHeader(StatusServiceUnavailable)
io.WriteString(w, h.errorBody())
tw.timedOut = true
return
}
}