changeset 56241:98133cccc0cc

(Fmapconcat, Fmapcar): Remove superfluous GCPROs.
author Kim F. Storm <storm@cua.dk>
date Thu, 24 Jun 2004 22:03:10 +0000
parents 710d37addaba
children caae4c07c40c
files src/fns.c
diffstat 1 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/src/fns.c	Thu Jun 24 22:02:23 2004 +0000
+++ b/src/fns.c	Thu Jun 24 22:03:10 2004 +0000
@@ -3020,11 +3020,7 @@
   for (i = 1; i < nargs; i += 2)
     args[i] = separator;
 
-  GCPRO1 (*args);
-  gcpro1.nvars = nargs;
   ret = Fconcat (nargs, args);
-  UNGCPRO;
-
   SAFE_FREE_LISP (nargs);
 
   return ret;
@@ -3040,7 +3036,6 @@
   register Lisp_Object len;
   register int leni;
   register Lisp_Object *args;
-  struct gcpro gcpro1;
   Lisp_Object ret;
   USE_SAFE_ALLOCA;
 
@@ -3051,11 +3046,7 @@
 
   mapcar1 (leni, args, function, sequence);
 
-  GCPRO1 (*args);
-  gcpro1.nvars = leni;
   ret = Flist (leni, args);
-  UNGCPRO;
-
   SAFE_FREE_LISP (leni);
 
   return ret;