changeset 7190:07c5d4989d9e

(do_completion): Initialize vars before gcpro.
author Karl Heuer <kwzh@gnu.org>
date Fri, 29 Apr 1994 05:48:36 +0000
parents c8023bf9c03d
children bd2f9c5ee54e
files src/minibuf.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/minibuf.c	Fri Apr 29 04:59:22 1994 +0000
+++ b/src/minibuf.c	Fri Apr 29 05:48:36 1994 +0000
@@ -1052,12 +1052,13 @@
   Lisp_Object last;
   struct gcpro gcpro1, gcpro2;
 
-  GCPRO2 (completion, last);
   completion = Ftry_completion (Fbuffer_string (), Vminibuffer_completion_table,
 				Vminibuffer_completion_predicate);
   last = last_exact_completion;
   last_exact_completion = Qnil;
 
+  GCPRO2 (completion, last);
+
   if (NILP (completion))
     {
       bitch_at_user ();