mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 14:41:42 +03:00
flat_bitmap unit test: Silence a warning.
This commit is contained in:
parent
b0ffa39cac
commit
b399463fba
1 changed files with 6 additions and 2 deletions
|
|
@ -461,8 +461,12 @@ expect_iter_results_at(fb_group_t *fb, size_t nbits, size_t pos,
|
|||
}
|
||||
|
||||
bool simple_iter_res;
|
||||
size_t simple_iter_begin;
|
||||
size_t simple_iter_len;
|
||||
/*
|
||||
* These are dead stores, but the compiler can't always figure that out
|
||||
* statically, and warns on the uninitialized variable.
|
||||
*/
|
||||
size_t simple_iter_begin = 0;
|
||||
size_t simple_iter_len = 0;
|
||||
simple_iter_res = fb_iter_simple(fb, nbits, pos, &simple_iter_begin,
|
||||
&simple_iter_len, val, forward);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue