Skip to content

Commit 86bf3fc

Browse files
committed
fixup
1 parent aa11671 commit 86bf3fc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

serialization/serialization.go

-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import (
1111
"errors"
1212
"fmt"
1313
"math/bits"
14-
"slices"
1514
"strings"
1615
)
1716

@@ -245,7 +244,6 @@ func decodeVar(data []byte, pos uint64, unsigned bool) (interface{}, uint64, err
245244
if len(data) < int(pos)+flen {
246245
return 0, pos, fmt.Errorf("truncated data, expected length: %d", flen)
247246
}
248-
var tNum uint64
249247
var tNumBytes [8]byte
250248
copy(tNumBytes[:], data[pos:int(pos)+flen])
251249
tNum := binary.LittleEndian.Uint64(tNumBytes[:])

0 commit comments

Comments
 (0)