From 75f8807fe6cc437f58845ec21621614d1dbb7f36 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 8 Mar 2011 09:31:51 -0800 Subject: [PATCH] * term.c (encode_terminal_code): Remove unused local --- src/ChangeLog | 2 +- src/term.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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; -- 2.39.5