summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2010-04-12 19:49:29 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2010-04-12 19:49:29 -0400
commit01f5787b8a4c21a1414e9e5202323d56b4aea3b8 (patch)
treecd2ccdd3c26f85eef53d64ad774b3c57b45adb08
parenta544e7c143dc0db6b3f7a37a8fb51eec083f3479 (diff)
downloademacs-01f5787b8a4c21a1414e9e5202323d56b4aea3b8.tar.gz
* process.c (status_notify): Remove unused var `ro'.
-rw-r--r--src/ChangeLog4
-rw-r--r--src/process.c4
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 <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
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))