guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unused global variable `scm_weak_vectors'


From: Ludovic Courtès
Subject: Unused global variable `scm_weak_vectors'
Date: Mon, 07 Nov 2005 13:18:33 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

Hi,

The patch below removes the `scm_weak_vectors' global variable from
`gc.c' as it's no longer used (`weaks.c' maintains its own list of weak
vectors).

Thanks,
Ludovic.


2005-11-07  Ludovic Courtès  <address@hidden>

        * gc.c (scm_weak_vectors): Removed.


--- orig/libguile/gc.c
+++ mod/libguile/gc.c
@@ -210,10 +210,6 @@
  */
 unsigned long scm_mtrigger;
 
-/* During collection, this accumulates objects holding
- * weak references.
- */
-SCM scm_weak_vectors;
 
 /* GC Statistics Keeping
  */





reply via email to

[Prev in Thread] Current Thread [Next in Thread]