summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Evans <je@fb.com>2012-02-29 05:13:12 (GMT)
committerJason Evans <je@fb.com>2012-02-29 05:13:12 (GMT)
commit93c023d181269fd47ca3f8e773509bb5bd779684 (patch)
tree0ea538dce5e7d048e97117afb89dc617dda5a3ed /src
parentbdcadf41e961a3c6bbb37d8d24e4b68a27f2b952 (diff)
downloadjemalloc-93c023d181269fd47ca3f8e773509bb5bd779684.zip
jemalloc-93c023d181269fd47ca3f8e773509bb5bd779684.tar.gz
jemalloc-93c023d181269fd47ca3f8e773509bb5bd779684.tar.bz2
Remove unused variables in stats_print().
Submitted by Mike Hommey.
Diffstat (limited to 'src')
-rw-r--r--src/stats.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/stats.c b/src/stats.c
index f6851a0..2f61e7b 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);