Skip to content

Commit 3536133

Browse files
author
mkashirin
committed
Remove the unneccessary code block due to the abscence of use of the variable.
1 parent d24a22e commit 3536133

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Python/gc.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,15 +1296,6 @@ gc_collect_young(PyThreadState *tstate,
12961296
PyGC_Head *young = &gcstate->young.head;
12971297
PyGC_Head *visited = &gcstate->old[gcstate->visited_space].head;
12981298
GC_STAT_ADD(0, collections, 1);
1299-
#ifdef Py_STATS
1300-
{
1301-
Py_ssize_t count = 0;
1302-
PyGC_Head *gc;
1303-
for (gc = GC_NEXT(young); gc != young; gc = GC_NEXT(gc)) {
1304-
count++;
1305-
}
1306-
}
1307-
#endif
13081299

13091300
PyGC_Head survivors;
13101301
gc_list_init(&survivors);

0 commit comments

Comments
 (0)