remove unused code

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2020-05-10 10:56:20 +08:00
parent c3bf4923de
commit 450ff5e153

View File

@ -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 '/'