fix megacheck issue: should omit values from range

pull/5805/head
Mario Trangoni 2018-03-21 22:17:09 +01:00
parent c0e888e82b
commit c2182820ed
1 changed files with 1 additions and 1 deletions

View File

@ -474,7 +474,7 @@ func (pb *Block) CleanTombstones(dest string, c Compactor) (bool, error) {
numStones := 0
pb.tombstones.Iter(func(id uint64, ivs Intervals) error {
for _ = range ivs {
for range ivs {
numStones++
}