From: Paul Eggert Date: Tue, 8 Mar 2011 17:31:51 +0000 (-0800) Subject: * term.c (encode_terminal_code): Remove unused local X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~605^2^2~42 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=75f8807fe6cc437f58845ec21621614d1dbb7f36;p=emacs.git * term.c (encode_terminal_code): Remove unused local --- diff --git a/src/ChangeLog b/src/ChangeLog index 325822a29a2..107d7d663da 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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 diff --git a/src/term.c b/src/term.c index 873ffaba299..80db7fbeb17 100644 --- a/src/term.c +++ b/src/term.c @@ -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;