double the nolint comments, double the checking

This commit is contained in:
Seebs 2019-10-11 15:17:51 -05:00
parent 6852df5255
commit ef40a5a219
2 changed files with 4 additions and 0 deletions

View file

@ -67,6 +67,7 @@ func (p *btEpool) get(err error, hit bool, i int, k uint64, q *d, t *tree, ver i
type (
d struct { // data page
//nolint:unused
dTree //lint:ignore U1000 this is conditional on a build flag
c int
d [2*kd + 1]de
@ -99,6 +100,7 @@ type (
// tree is a B+tree.
tree struct {
//nolint:unused
treeInst //lint:ignore U1000 this is conditional on a build flag
c int
first *d

View file

@ -17,10 +17,12 @@
package roaring
//lint:ignore U1000 this is conditional on a build flag
//nolint:unused
type dTree struct {
}
//lint:ignore U1000 this is conditional on a build flag
//nolint:unused
type treeInst struct {
}