From 93c023d181269fd47ca3f8e773509bb5bd779684 Mon Sep 17 00:00:00 2001 From: Jason Evans Date: Tue, 28 Feb 2012 21:13:12 -0800 Subject: [PATCH] Remove unused variables in stats_print(). Submitted by Mike Hommey. --- src/stats.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/stats.c b/src/stats.c index f6851a01..2f61e7bc 100644 --- a/src/stats.c +++ b/src/stats.c @@ -582,7 +582,6 @@ stats_print(void (*write_cb)(void *, const char *), void *cbopaque, } if (config_stats) { - size_t sszp, ssz; size_t *cactive; size_t allocated, active, mapped; size_t chunks_current, chunks_high; @@ -590,9 +589,6 @@ stats_print(void (*write_cb)(void *, const char *), void *cbopaque, size_t huge_allocated; uint64_t huge_nmalloc, huge_ndalloc; - sszp = sizeof(size_t *); - ssz = sizeof(size_t); - CTL_GET("stats.cactive", &cactive, size_t *); CTL_GET("stats.allocated", &allocated, size_t); CTL_GET("stats.active", &active, size_t);