tree: remove dead code
diff --git a/tree.go b/tree.go index c5e0d85..b735534 100644 --- a/tree.go +++ b/tree.go
@@ -473,6 +473,7 @@ } } +// recursive case-insensitive lookup function used by n.findCaseInsensitivePath func (n *node) findCaseInsensitivePathRec(path, loPath string, ciPath []byte, rb [4]byte, fixTrailingSlash bool) ([]byte, bool) { loNPath := strings.ToLower(n.path) @@ -500,11 +501,6 @@ n = n.children[i] loNPath = strings.ToLower(n.path) continue walk - /*if out, found := n.children[i].findCaseInsensitivePathRec( - path, loPath, ciPath, rb, fixTrailingSlash, - ); found { - return out, true - }*/ } } } else {