mirror of
https://github.com/ceph/ceph
synced 2025-02-24 19:47:44 +00:00
unittest_bit_alloc: silence clang analyzer warning
silences following warning: Value stored to 'allocated' is never read Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
0bef6c7753
commit
bceafe0607
@ -245,7 +245,6 @@ TEST(BitAllocator, test_bmap_entry)
|
||||
bmap = new BmapEntry(g_ceph_context, false);
|
||||
start = -1;
|
||||
scanned = 0;
|
||||
allocated = 0;
|
||||
allocated = bmap->find_first_set_bits(1, 1, &start, &scanned);
|
||||
bmap_test_assert(allocated == 1);
|
||||
bmap_test_assert(start == 1);
|
||||
|
Loading…
Reference in New Issue
Block a user