Skip to content

Commit

Permalink
remove extraneous bitwiseFlags variable
Browse files Browse the repository at this point in the history
  • Loading branch information
floren committed Nov 17, 2020
1 parent 837dfaa commit aa3d476
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions parser.go
Expand Up @@ -4,7 +4,6 @@ import (
"bytes"
"errors"
"fmt"
"math"
"strconv"
)

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

var bitwiseFlags []int64

func init() {
for i := 0; i < 63; i++ {
bitwiseFlags = append(bitwiseFlags, int64(math.Pow(2, float64(i))))
}
}

func sameTree(p1, p2 []string) bool {
minLen := len(p1)
if len(p2) < minLen {
Expand Down

0 comments on commit aa3d476

Please sign in to comment.