From 01f5787b8a4c21a1414e9e5202323d56b4aea3b8 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 12 Apr 2010 19:49:29 -0400 Subject: [PATCH] * process.c (status_notify): Remove unused var `ro'. --- src/ChangeLog | 4 ++++ src/process.c | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 7bbbc04d056..2c768be4821 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-04-12 Stefan Monnier + + * process.c (status_notify): Remove unused var `ro'. + 2010-04-12 Jan Djärv * xfns.c (select_visual): Don't call error if XGetVisualInfo returns diff --git a/src/process.c b/src/process.c index 4a1f31f66e7..34aa2c4fcff 100644 --- a/src/process.c +++ b/src/process.c @@ -6982,13 +6982,11 @@ status_notify (deleting_process) 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)) -- 2.39.2