From 3add88d4356bcebc8e77cb23b040cb3f6bf9e76f Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Thu, 29 Jun 2023 11:26:49 +0300 Subject: [PATCH] [#44] netmap: Fix ineffassign linter warning Signed-off-by: Evgenii Stratonikov --- netmap/marshal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netmap/marshal.go b/netmap/marshal.go index 51de050..bf559ce 100644 --- a/netmap/marshal.go +++ b/netmap/marshal.go @@ -167,7 +167,7 @@ func (p *PlacementPolicy) StableMarshal(buf []byte) []byte { offset += protoutil.NestedStructureMarshal(filtersPolicyField, buf[offset:], &p.filters[i]) } - offset += protoutil.BoolMarshal(uniquePolicyField, buf[offset:], p.unique) + protoutil.BoolMarshal(uniquePolicyField, buf[offset:], p.unique) return buf }