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)
29622962 * will be living in full pools -- would be a shame to miss them.
29632963 */
29642964 for (i = 0 ; i < maxarenas ; ++ i ) {
2965- uint j ;
29662965 uintptr_t base = arenas [i ].address ;
29672966
29682967 /* Skip arenas which are not allocated. */
@@ -2981,8 +2980,7 @@ _PyObject_DebugMallocStats(FILE *out)
29812980
29822981 /* visit every pool in the arena */
29832982 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 ) {
29862984 poolp p = (poolp )base ;
29872985 const uint sz = p -> szidx ;
29882986 uint freeblocks ;
You can’t perform that action at this time.
0 commit comments