From: Brett Cannon Date: Wed, 5 May 2010 20:16:50 +0000 (+0000) Subject: Remove an unneeded variable. X-Git-Tag: v2.7b2~72 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eb3fef59b96649e48260569a811040e7a2a7158f;p=python Remove an unneeded variable. Found using Clang's static analyzer. --- 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 */