Remove unused variables in stats_print().

Submitted by Mike Hommey.
This commit is contained in:
Jason Evans 2012-02-28 21:13:12 -08:00
parent bdcadf41e9
commit 93c023d181

View File

@ -582,7 +582,6 @@ stats_print(void (*write_cb)(void *, const char *), void *cbopaque,
} }
if (config_stats) { if (config_stats) {
size_t sszp, ssz;
size_t *cactive; size_t *cactive;
size_t allocated, active, mapped; size_t allocated, active, mapped;
size_t chunks_current, chunks_high; size_t chunks_current, chunks_high;
@ -590,9 +589,6 @@ stats_print(void (*write_cb)(void *, const char *), void *cbopaque,
size_t huge_allocated; size_t huge_allocated;
uint64_t huge_nmalloc, huge_ndalloc; uint64_t huge_nmalloc, huge_ndalloc;
sszp = sizeof(size_t *);
ssz = sizeof(size_t);
CTL_GET("stats.cactive", &cactive, size_t *); CTL_GET("stats.cactive", &cactive, size_t *);
CTL_GET("stats.allocated", &allocated, size_t); CTL_GET("stats.allocated", &allocated, size_t);
CTL_GET("stats.active", &active, size_t); CTL_GET("stats.active", &active, size_t);