diff options
author | Jason Evans <jasone@canonware.com> | 2016-06-04 02:39:14 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2016-06-06 04:00:02 (GMT) |
commit | f02fec8839856fad3106f429f9316e844557e99f (patch) | |
tree | fadb98534e6fc4def3bd27dca105353841bab296 | |
parent | 8835cf3bed1888fc0110b0c59dbf2ce1288a7a8c (diff) | |
download | jemalloc-f02fec8839856fad3106f429f9316e844557e99f.zip jemalloc-f02fec8839856fad3106f429f9316e844557e99f.tar.gz jemalloc-f02fec8839856fad3106f429f9316e844557e99f.tar.bz2 |
Silence a bogus compiler warning.
-rw-r--r-- | src/ctl.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |