From 6873cd4a8f118d3a273add6af78c4c6d619b24f4 Mon Sep 17 00:00:00 2001 From: Sukhjit Singh Date: Tue, 11 Jan 2022 10:06:19 +1100 Subject: [PATCH] Re-add ineffectual statement, but mark it with "// nolint" --- route.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/route.go b/route.go index 7e72c6a..29cc2ea 100644 --- a/route.go +++ b/route.go @@ -64,6 +64,8 @@ func (r *Route) Match(req *http.Request, match *RouteMatch) bool { match.MatchErr = nil } + // nolint: ineffassign + matchErr = nil return false } }