Skip to content

Commit aa3d476

Browse files
committed
remove extraneous bitwiseFlags variable
1 parent 837dfaa commit aa3d476

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

parser.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"bytes"
55
"errors"
66
"fmt"
7-
"math"
87
"strconv"
98
)
109

@@ -356,14 +355,6 @@ func searchKeys(data []byte, keys ...string) int {
356355
return -1
357356
}
358357

359-
var bitwiseFlags []int64
360-
361-
func init() {
362-
for i := 0; i < 63; i++ {
363-
bitwiseFlags = append(bitwiseFlags, int64(math.Pow(2, float64(i))))
364-
}
365-
}
366-
367358
func sameTree(p1, p2 []string) bool {
368359
minLen := len(p1)
369360
if len(p2) < minLen {

0 commit comments

Comments
 (0)