changeset 107842:992ffbd77e15

* process.c (status_notify): Remove unused var `ro'.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 12 Apr 2010 19:49:29 -0400
parents 2cdeb4c70d45
children 64cb38b81502
files src/ChangeLog src/process.c
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Mon Apr 12 15:14:16 2010 -0400
+++ b/src/ChangeLog	Mon Apr 12 19:49:29 2010 -0400
@@ -1,3 +1,7 @@
+2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* process.c (status_notify): Remove unused var `ro'.
+
 2010-04-12  Jan Djärv  <jan.h.d@swipnet.se>
 
 	* xfns.c (select_visual): Don't call error if XGetVisualInfo returns
--- a/src/process.c	Mon Apr 12 15:14:16 2010 -0400
+++ b/src/process.c	Mon Apr 12 19:49:29 2010 -0400
@@ -6982,13 +6982,11 @@
 	     when a process becomes runnable.  */
 	  else if (!EQ (symbol, Qrun) && !NILP (buffer))
 	    {
-	      Lisp_Object ro, tem;
+	      Lisp_Object tem;
 	      struct buffer *old = current_buffer;
 	      int opoint, opoint_byte;
 	      int before, before_byte;
 
-	      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))