Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
  • Loading branch information
appleboy committed May 10, 2020
1 parent c3bf492 commit 450ff5e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tree.go
Expand Up @@ -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 '/'
Expand Down

0 comments on commit 450ff5e

Please sign in to comment.