]> git.eshelyaron.com Git - emacs.git/commitdiff
* term.c (encode_terminal_code): Remove unused local
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 8 Mar 2011 17:31:51 +0000 (09:31 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 8 Mar 2011 17:31:51 +0000 (09:31 -0800)
src/ChangeLog
src/term.c

index 325822a29a2b533c445eddb2ab11c9d754c8d73d..107d7d663dab25bd0524434c01328b77f8bfee78 100644 (file)
@@ -85,7 +85,7 @@
        * cm.c (cmgoto): Mark variables that gcc -Wuninitialized does not
        deduce are never used uninitialized.
 
-       * term.c (encode_terminal_code): Now static.
+       * term.c (encode_terminal_code): Now static.  Remove unused local.
 
 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
 
index 873ffaba2993f709dc30311419f42ab640bab200..80db7fbeb17923f69095c2c1aeb6e9569063c58c 100644 (file)
@@ -664,8 +664,6 @@ encode_terminal_code (struct glyph *src, int src_len, struct coding_system *codi
            }
          else
            {
-             unsigned char *p = SDATA (string);
-
              if (! STRING_MULTIBYTE (string))
                string = string_to_multibyte (string);
              nbytes = buf - encode_terminal_src;