From 450ff5e15316b7ef2f79d6dfcd7399b5cb1b78a0 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sun, 10 May 2020 10:56:20 +0800 Subject: [PATCH] remove unused code Signed-off-by: Bo-Yi Wu --- tree.go | 1 - 1 file changed, 1 deletion(-) diff --git a/tree.go b/tree.go index 8f33390c33..ace1c33a0f 100644 --- a/tree.go +++ b/tree.go @@ -311,7 +311,6 @@ func (n *node) insertChild(path string, fullPath string, handlers HandlersChain) n.children = []*node{child} n = child n.priority++ - // numParams-- // if the path doesn't end with the wildcard, then there // will be another non-wildcard subpath starting with '/'