File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -3000,7 +3000,6 @@ _PyObject_DebugMallocStats(FILE *out)
3000
3000
* will be living in full pools -- would be a shame to miss them.
3001
3001
*/
3002
3002
for (i = 0 ; i < maxarenas ; ++ i ) {
3003
- uint j ;
3004
3003
uintptr_t base = arenas [i ].address ;
3005
3004
3006
3005
/* Skip arenas which are not allocated. */
@@ -3019,8 +3018,7 @@ _PyObject_DebugMallocStats(FILE *out)
3019
3018
3020
3019
/* visit every pool in the arena */
3021
3020
assert (base <= (uintptr_t ) arenas [i ].pool_address );
3022
- for (j = 0 ; base < (uintptr_t ) arenas [i ].pool_address ;
3023
- ++ j , base += POOL_SIZE ) {
3021
+ for (; base < (uintptr_t ) arenas [i ].pool_address ; base += POOL_SIZE ) {
3024
3022
poolp p = (poolp )base ;
3025
3023
const uint sz = p -> szidx ;
3026
3024
uint freeblocks ;
You can’t perform that action at this time.
0 commit comments