emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/coding.c


From: Pavel Janík
Subject: [Emacs-diffs] Changes to emacs/src/coding.c
Date: Fri, 09 Nov 2001 03:00:44 -0500

Index: emacs/src/coding.c
diff -u emacs/src/coding.c:1.228 emacs/src/coding.c:1.229
--- emacs/src/coding.c:1.228    Sun Nov  4 12:42:30 2001
+++ emacs/src/coding.c  Fri Nov  9 03:00:44 2001
@@ -4827,7 +4827,6 @@
       && coding->result == CODING_FINISH_INSUFFICIENT_SRC)
     {
       unsigned char *src = source + coding->consumed;
-      unsigned char *src_end = src + src_bytes;
       unsigned char *dst = destination + coding->produced;
 
       if (coding->type == coding_type_iso2022)
@@ -4838,7 +4837,7 @@
        {
          int len = src_bytes - coding->consumed;
 
-         BCOPY_SHORT (source + coding->consumed, dst, len);
+         BCOPY_SHORT (src, dst, len);
          if (coding->src_multibyte)
            len = str_as_unibyte (dst, len);
          dst += len;
@@ -5394,7 +5393,6 @@
          new buffer.  */
       struct buffer *prev = current_buffer;
       Lisp_Object new;
-      int count = specpdl_ptr - specpdl;
 
       record_unwind_protect (code_convert_region_unwind, Qnil);
       /* We should not call any more pre-write/post-read-conversion
@@ -5728,7 +5726,6 @@
       && ! encodep && ! NILP (coding->post_read_conversion))
     {
       Lisp_Object val;
-      int count = specpdl_ptr - specpdl;
 
       if (from != PT)
        TEMP_SET_PT_BOTH (from, from_byte);



reply via email to

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