From e20671b2b4c8a542fd30ffb1829b836aa38dc5de Mon Sep 17 00:00:00 2001 From: Seebs Date: Tue, 13 Nov 2018 14:20:25 -0600 Subject: [PATCH] silence gometalinter I am aware that I don't actually ever use the length of a after this line of code, but if I don't correctly update it, any future change that needs that length will break mysteriously. We humbly ask gometalinter to consider the reply of counsel in _Arkell v. Pressdram_ (1971). --- roaring/roaring.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roaring/roaring.go b/roaring/roaring.go index bb3c5da6e..9c4274df9 100644 --- a/roaring/roaring.go +++ b/roaring/roaring.go @@ -1910,7 +1910,7 @@ func intersectionCountArrayArray(a, b *Container) (n int32) { } if na > nb { ca, cb = cb, ca - na, nb = nb, na + na, nb = nb, na // nolint: ineffassign } j := 0 for _, va := range ca {