summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2010-05-05 20:16:50 (GMT)
committerBrett Cannon <bcannon@gmail.com>2010-05-05 20:16:50 (GMT)
commiteb3fef59b96649e48260569a811040e7a2a7158f (patch)
tree94aa5ab5200ed4a85f04300877081608c2c78dfd /Objects
parent6f38175cbc3329ffa63cf46c584d2d2b334484ae (diff)
downloadcpython-eb3fef59b96649e48260569a811040e7a2a7158f.zip
cpython-eb3fef59b96649e48260569a811040e7a2a7158f.tar.gz
cpython-eb3fef59b96649e48260569a811040e7a2a7158f.tar.bz2
Remove an unneeded variable.
Found using Clang's static analyzer.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/obmalloc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c
index fa985da..c8c36d5 100644
--- a/Objects/obmalloc.c
+++ b/Objects/obmalloc.c
@@ -1761,7 +1761,6 @@ _PyObject_DebugMallocStats(void)
* will be living in full pools -- would be a shame to miss them.
*/
for (i = 0; i < maxarenas; ++i) {
- uint poolsinarena;
uint j;
uptr base = arenas[i].address;
@@ -1770,7 +1769,6 @@ _PyObject_DebugMallocStats(void)
continue;
narenas += 1;
- poolsinarena = arenas[i].ntotalpools;
numfreepools += arenas[i].nfreepools;
/* round up to pool alignment */