From c99abc657a7d2f8047d408585bad36f8e823d87c Mon Sep 17 00:00:00 2001 From: Sukhjit Singh Date: Wed, 15 Dec 2021 17:23:53 +1100 Subject: [PATCH] Remove ineffectual assignment to matchErr "matchErr = nil" --- route.go | 1 - 1 file changed, 1 deletion(-) diff --git a/route.go b/route.go index 750afe5..7e72c6a 100644 --- a/route.go +++ b/route.go @@ -64,7 +64,6 @@ func (r *Route) Match(req *http.Request, match *RouteMatch) bool { match.MatchErr = nil } - matchErr = nil return false } }