Remove an unneeded variable.
Found using Clang's static analyzer.
This commit is contained in:
parent
6f38175cbc
commit
eb3fef59b9
|
@ -1761,7 +1761,6 @@ _PyObject_DebugMallocStats(void)
|
||||||
* will be living in full pools -- would be a shame to miss them.
|
* will be living in full pools -- would be a shame to miss them.
|
||||||
*/
|
*/
|
||||||
for (i = 0; i < maxarenas; ++i) {
|
for (i = 0; i < maxarenas; ++i) {
|
||||||
uint poolsinarena;
|
|
||||||
uint j;
|
uint j;
|
||||||
uptr base = arenas[i].address;
|
uptr base = arenas[i].address;
|
||||||
|
|
||||||
|
@ -1770,7 +1769,6 @@ _PyObject_DebugMallocStats(void)
|
||||||
continue;
|
continue;
|
||||||
narenas += 1;
|
narenas += 1;
|
||||||
|
|
||||||
poolsinarena = arenas[i].ntotalpools;
|
|
||||||
numfreepools += arenas[i].nfreepools;
|
numfreepools += arenas[i].nfreepools;
|
||||||
|
|
||||||
/* round up to pool alignment */
|
/* round up to pool alignment */
|
||||||
|
|
Loading…
Reference in New Issue