Skip to content

Commit

Permalink
tree: remove duplicate assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
julienschmidt committed Jan 12, 2020
1 parent 6bade33 commit cfa3cb7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,6 @@ walk: // Outer loop for walking the tree
for i, c := range []byte(n.indices) {
if c == idxc {
n = n.children[i]
prefix = n.path
continue walk
}
}
Expand Down Expand Up @@ -381,7 +380,6 @@ walk: // Outer loop for walking the tree
if len(n.children) > 0 {
path = path[end:]
n = n.children[0]
prefix = n.path
continue walk
}

Expand Down

0 comments on commit cfa3cb7

Please sign in to comment.