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