summaryrefslogtreecommitdiffstats
path: root/src/prof.c
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2015-03-14 21:34:16 (GMT)
committerJason Evans <jasone@canonware.com>2015-03-14 21:34:16 (GMT)
commit262146dfc4778f0671ab86458acd4ec531a80a34 (patch)
tree0cf2263ceb5d6fc816488dfb27adbd273f3befd9 /src/prof.c
parent764b00023f2bc97f240c3a758ed23ce9c0ad8526 (diff)
downloadjemalloc-262146dfc4778f0671ab86458acd4ec531a80a34.zip
jemalloc-262146dfc4778f0671ab86458acd4ec531a80a34.tar.gz
jemalloc-262146dfc4778f0671ab86458acd4ec531a80a34.tar.bz2
Eliminate innocuous compiler warnings.
Diffstat (limited to 'src/prof.c')
-rw-r--r--src/prof.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/prof.c b/src/prof.c
index e86669c..e9daa6f 100644
--- a/src/prof.c
+++ b/src/prof.c
@@ -683,6 +683,8 @@ prof_tctx_destroy(tsd_t *tsd, prof_tctx_t *tctx)
break;
default:
not_reached();
+ destroy_tctx = false;
+ destroy_gctx = false;
}
malloc_mutex_unlock(gctx->lock);
if (destroy_gctx) {