Fix an used-uninitialized warning (false positive).
This commit is contained in:
parent
e491cef9ab
commit
8b34a788b5
@ -418,7 +418,8 @@ tcache_bin_flush_impl(tsd_t *tsd, tcache_t *tcache, cache_bin_t *cache_bin,
|
|||||||
|
|
||||||
/* Deallocate whatever we can. */
|
/* Deallocate whatever we can. */
|
||||||
unsigned ndeferred = 0;
|
unsigned ndeferred = 0;
|
||||||
arena_dalloc_bin_locked_info_t dalloc_bin_info;
|
/* Init only to avoid used-uninitialized warning. */
|
||||||
|
arena_dalloc_bin_locked_info_t dalloc_bin_info = {0};
|
||||||
if (small) {
|
if (small) {
|
||||||
arena_dalloc_bin_locked_begin(&dalloc_bin_info, binind);
|
arena_dalloc_bin_locked_begin(&dalloc_bin_info, binind);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user