summaryrefslogtreecommitdiff
path: root/Objects
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2010-05-05 20:16:50 +0000
committerBrett Cannon <bcannon@gmail.com>2010-05-05 20:16:50 +0000
commitb0dad3cd7c8703520b0c1280f67817dec1c8fbfd (patch)
tree23a81a4e0031aee3ea01aa297644b2d6de67dcc1 /Objects
parent52b7428878d601b9815397e0349845548d60196e (diff)
downloadcpython-b0dad3cd7c8703520b0c1280f67817dec1c8fbfd.tar.gz
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 fa985da987..c8c36d51c1 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 */