mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-18 14:52:18 +08:00
remove unused code
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
c3bf4923de
commit
450ff5e153
1
tree.go
1
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 '/'
|
||||
|
Loading…
x
Reference in New Issue
Block a user