Fix lint warnings.
This commit was merged in pull request #11.
This commit is contained in:
@@ -44,7 +44,7 @@ func (s *setOfStrings) marshal() []byte {
|
||||
for i := range s.values[1:] {
|
||||
l += 5 + len(s.values[i+1])
|
||||
}
|
||||
res := make([]byte, l, l)
|
||||
res := make([]byte, l)
|
||||
p := 0
|
||||
res[p] = byte(s.vTag)
|
||||
p += 1
|
||||
|
||||
Reference in New Issue
Block a user