emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dead code in process.c


From: Gaute B Strokkenes
Subject: Dead code in process.c
Date: Thu, 25 Sep 2003 18:30:33 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

This patch is a week or so old, but I expect it will still apply.

Index: process.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/process.c,v
retrieving revision 1.409
diff -u -r1.409 process.c
--- process.c   1 Sep 2003 15:45:56 -0000       1.409
+++ process.c   11 Sep 2003 02:25:42 -0000
@@ -4832,7 +4832,6 @@
     {
       int require = encoding_buffer_size (coding, len);
       int from_byte = -1, from = -1, to = -1;
-      unsigned char *temp_buf = NULL;
 
       if (BUFFERP (object))
        {
@@ -4868,8 +4867,6 @@
                     len, SBYTES (object));
       len = coding->produced;
       buf = SDATA (object);
-      if (temp_buf)
-       xfree (temp_buf);
     }
 
 #ifdef VMS

-- 
Gaute Strokkenes                        http://www.srcf.ucam.org/~gs234/
Why don't you ever enter any CONTESTS, Marvin??
 Don't you know your own ZIPCODE?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]