Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Commit

Permalink
double the nolint comments, double the checking
Browse files Browse the repository at this point in the history
  • Loading branch information
seebs committed Oct 11, 2019
1 parent 6852df5 commit ef40a5a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roaring/btree.go
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions roaring/nop_inst.go
Expand Up @@ -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 {
}

Expand Down

0 comments on commit ef40a5a

Please sign in to comment.