Remove unused variables in stats_print().
Submitted by Mike Hommey.
This commit is contained in:
parent
bdcadf41e9
commit
93c023d181
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user