From f02fec8839856fad3106f429f9316e844557e99f Mon Sep 17 00:00:00 2001 From: Jason Evans Date: Fri, 3 Jun 2016 19:39:14 -0700 Subject: [PATCH] Silence a bogus compiler warning. --- src/ctl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ctl.c b/src/ctl.c index 813d5fab..535f1eab 100644 --- a/src/ctl.c +++ b/src/ctl.c @@ -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 = arena_get(tsd_tsdn(tsd), arena_ind, false)) != 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 *); old_extent_hooks = extent_hooks_set(arena, new_extent_hooks);