changeset 51252:beb851c49c65

(Fgarbage_collect): Fix last change.
author Andreas Schwab <schwab@suse.de>
date Mon, 26 May 2003 22:03:17 +0000
parents 6481024d295f
children 2450703a4ef3
files src/alloc.c
diffstat 1 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/alloc.c	Mon May 26 21:56:41 2003 +0000
+++ b/src/alloc.c	Mon May 26 22:03:17 2003 +0000
@@ -4311,9 +4311,13 @@
 
 #if (GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE \
      || GC_MARK_STACK == GC_USE_GCPROS_CHECK_ZOMBIES)
-  for (tail = gcprolist; tail; tail = tail->next)
-    for (i = 0; i < tail->nvars; i++)
-      XUNMARK (tail->var[i]);
+  {
+    register struct gcpro *tail;
+
+    for (tail = gcprolist; tail; tail = tail->next)
+      for (i = 0; i < tail->nvars; i++)
+	XUNMARK (tail->var[i]);
+  }
 #endif
 
   unmark_byte_stack ();