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 @@ -2962,7 +2962,6 @@ _PyObject_DebugMallocStats(FILE *out)
2962
2962
* will be living in full pools -- would be a shame to miss them.
2963
2963
*/
2964
2964
for (i = 0 ; i < maxarenas ; ++ i ) {
2965
- uint j ;
2966
2965
uintptr_t base = arenas [i ].address ;
2967
2966
2968
2967
/* Skip arenas which are not allocated. */
@@ -2981,8 +2980,7 @@ _PyObject_DebugMallocStats(FILE *out)
2981
2980
2982
2981
/* visit every pool in the arena */
2983
2982
assert (base <= (uintptr_t ) arenas [i ].pool_address );
2984
- for (j = 0 ; base < (uintptr_t ) arenas [i ].pool_address ;
2985
- ++ j , base += POOL_SIZE ) {
2983
+ for (; base < (uintptr_t ) arenas [i ].pool_address ; base += POOL_SIZE ) {
2986
2984
poolp p = (poolp )base ;
2987
2985
const uint sz = p -> szidx ;
2988
2986
uint freeblocks ;
You can’t perform that action at this time.
0 commit comments