Silence a bogus compiler warning.
This commit is contained in:
parent
8835cf3bed
commit
f02fec8839
@ -1646,7 +1646,9 @@ arena_i_extent_hooks_ctl(tsd_t *tsd, const size_t *mib, size_t miblen,
|
|||||||
if (arena_ind < narenas_total_get() && (arena =
|
if (arena_ind < narenas_total_get() && (arena =
|
||||||
arena_get(tsd_tsdn(tsd), arena_ind, false)) != NULL) {
|
arena_get(tsd_tsdn(tsd), arena_ind, false)) != NULL) {
|
||||||
if (newp != NULL) {
|
if (newp != NULL) {
|
||||||
extent_hooks_t *old_extent_hooks, *new_extent_hooks;
|
extent_hooks_t *old_extent_hooks;
|
||||||
|
extent_hooks_t *new_extent_hooks
|
||||||
|
JEMALLOC_CC_SILENCE_INIT(NULL);
|
||||||
WRITE(new_extent_hooks, extent_hooks_t *);
|
WRITE(new_extent_hooks, extent_hooks_t *);
|
||||||
old_extent_hooks = extent_hooks_set(arena,
|
old_extent_hooks = extent_hooks_set(arena,
|
||||||
new_extent_hooks);
|
new_extent_hooks);
|
||||||
|
Loading…
Reference in New Issue
Block a user