Skip to content

Commit

Permalink
Fix C4102
Browse files Browse the repository at this point in the history
```
warning C4102: 'init' : unreferenced label
```
  • Loading branch information
fjeremic committed Jun 7, 2021
1 parent d1f5435 commit 5527444
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/cs2/sparsrbit.h
Original file line number Diff line number Diff line change
Expand Up @@ -1225,7 +1225,7 @@ inline typename ASparseBitVector<Allocator>::Segment *ASparseBitVector<Allocator
} else {
base = (Segment *) Allocator::allocate((n+1) * sizeof(Segment));
}
init:

base[i].allocate(count, *this);
base[i].fHighBits = index >> 16;
base[i].fNumValues = 0;
Expand Down Expand Up @@ -1352,7 +1352,7 @@ bool ASparseBitVector<Allocator>::OrSegment(const typename ASparseBitVector<Allo
tmpSegment.append(inputSegment, ii0, ii);
}
}
no_more:

if (tmpSegment.IsZero()) {
if (!isInplace)
// not inplace, so need to copy
Expand Down

0 comments on commit 5527444

Please sign in to comment.