changeset 13553:fb12156faaf5

(mark_object): Don't overwrite original argument value.
author Richard M. Stallman <rms@gnu.org>
date Wed, 15 Nov 1995 17:42:44 +0000
parents 154408a17c77
children 626f0886b434
files src/alloc.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/alloc.c	Wed Nov 15 17:24:18 1995 +0000
+++ b/src/alloc.c	Wed Nov 15 17:42:44 1995 +0000
@@ -1699,9 +1699,10 @@
 int last_marked_index;
 
 static void
-mark_object (objptr)
-     Lisp_Object *objptr;
+mark_object (argptr)
+     Lisp_Object *argptr;
 {
+  Lisp_Object *objptr = argptr;
   register Lisp_Object obj;
 
  loop: