diff options
author | Michael W. Hudson <mwh@python.net> | 2002-07-04 17:11:36 (GMT) |
---|---|---|
committer | Michael W. Hudson <mwh@python.net> | 2002-07-04 17:11:36 (GMT) |
commit | 8b7f131f8b4d5a6643f74690f07ed226f5640bc7 (patch) | |
tree | 3deb328a8d467e4fc21982645056ba6ea980bb81 /Modules/gcmodule.c | |
parent | e807e571a1bbd0a4f9f7530ba6d7dabd277d1a3d (diff) | |
download | cpython-8b7f131f8b4d5a6643f74690f07ed226f5640bc7.zip cpython-8b7f131f8b4d5a6643f74690f07ed226f5640bc7.tar.gz cpython-8b7f131f8b4d5a6643f74690f07ed226f5640bc7.tar.bz2 |
gc_list_move defined but not used.
Diffstat (limited to 'Modules/gcmodule.c')
-rw-r--r-- | Modules/gcmodule.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c index 6df2485..c81a352 100644 --- a/Modules/gcmodule.c +++ b/Modules/gcmodule.c @@ -155,21 +155,6 @@ gc_list_remove(PyGC_Head *node) node->gc.gc_next = NULL; /* object is not currently tracked */ } -static void -gc_list_move(PyGC_Head *from, PyGC_Head *to) -{ - if (gc_list_is_empty(from)) { - gc_list_init(to); - } - else { - to->gc.gc_next = from->gc.gc_next; - to->gc.gc_next->gc.gc_prev = to; - to->gc.gc_prev = from->gc.gc_prev; - to->gc.gc_prev->gc.gc_next = to; - } - gc_list_init(from); -} - /* append a list onto another list, from becomes an empty list */ static void gc_list_merge(PyGC_Head *from, PyGC_Head *to) |