lint: remove redundant return

This commit is contained in:
Eli Ribble 2026-05-19 15:24:32 +00:00
parent d43ee1c95f
commit 8ac613000b
No known key found for this signature in database

View file

@ -388,7 +388,6 @@ func serializeError(w http.ResponseWriter, e *nhttp.ErrorWithStatus) {
return return
} }
http.Error(w, string(body), e.Status) http.Error(w, string(body), e.Status)
return
} }
func respondError(w http.ResponseWriter, status int, format string, args ...any) { func respondError(w http.ResponseWriter, status int, format string, args ...any) {
outer_err := fmt.Errorf(format, args...) outer_err := fmt.Errorf(format, args...)