changeset 6515:df7438605e1e

(status_notify): Use assignment, not initialization.
author Karl Heuer <kwzh@gnu.org>
date Fri, 25 Mar 1994 00:40:16 +0000
parents 421a3ab4cb2e
children 8278049ee7a7
files src/process.c
diffstat 1 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Thu Mar 24 23:41:29 1994 +0000
+++ b/src/process.c	Fri Mar 25 00:40:16 1994 +0000
@@ -2953,10 +2953,11 @@
 status_notify ()
 {
   register Lisp_Object proc, buffer;
-  Lisp_Object tail = Qnil;
-  Lisp_Object msg = Qnil;
+  Lisp_Object tail, msg;
   struct gcpro gcpro1, gcpro2;
 
+  tail = Qnil;
+  msg = Qnil;
   /* We need to gcpro tail; if read_process_output calls a filter
      which deletes a process and removes the cons to which tail points
      from Vprocess_alist, and then causes a GC, tail is an unprotected
@@ -3008,11 +3009,12 @@
 	     when a process becomes runnable.  */
 	  else if (!EQ (symbol, Qrun) && !NILP (buffer))
 	    {
-	      Lisp_Object ro = XBUFFER (buffer)->read_only;
-	      Lisp_Object tem;
+	      Lisp_Object ro, tem;
 	      struct buffer *old = current_buffer;
 	      int opoint;
 
+	      ro = XBUFFER (buffer)->read_only;
+
 	      /* Avoid error if buffer is deleted
 		 (probably that's why the process is dead, too) */
 	      if (NILP (XBUFFER (buffer)->name))