diff options
| author | Paul Eggert | 2011-03-08 09:31:51 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-03-08 09:31:51 -0800 |
| commit | 75f8807fe6cc437f58845ec21621614d1dbb7f36 (patch) | |
| tree | b3d54365979107ee7e3414fbf5a36323a12209a8 /src | |
| parent | 72abad34056c26fce75f8ece4b66ce386f2d0725 (diff) | |
| download | emacs-75f8807fe6cc437f58845ec21621614d1dbb7f36.tar.gz emacs-75f8807fe6cc437f58845ec21621614d1dbb7f36.zip | |
* term.c (encode_terminal_code): Remove unused local
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/term.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 325822a29a2..107d7d663da 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -85,7 +85,7 @@ | |||
| 85 | * cm.c (cmgoto): Mark variables that gcc -Wuninitialized does not | 85 | * cm.c (cmgoto): Mark variables that gcc -Wuninitialized does not |
| 86 | deduce are never used uninitialized. | 86 | deduce are never used uninitialized. |
| 87 | 87 | ||
| 88 | * term.c (encode_terminal_code): Now static. | 88 | * term.c (encode_terminal_code): Now static. Remove unused local. |
| 89 | 89 | ||
| 90 | 2011-03-06 Chong Yidong <cyd@stupidchicken.com> | 90 | 2011-03-06 Chong Yidong <cyd@stupidchicken.com> |
| 91 | 91 | ||
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 | |||
| 664 | } | 664 | } |
| 665 | else | 665 | else |
| 666 | { | 666 | { |
| 667 | unsigned char *p = SDATA (string); | ||
| 668 | |||
| 669 | if (! STRING_MULTIBYTE (string)) | 667 | if (! STRING_MULTIBYTE (string)) |
| 670 | string = string_to_multibyte (string); | 668 | string = string_to_multibyte (string); |
| 671 | nbytes = buf - encode_terminal_src; | 669 | nbytes = buf - encode_terminal_src; |