aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog1
-rw-r--r--src/term.c6
2 files changed, 4 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 6d22732b5e0..c6f973af8c7 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -89,6 +89,7 @@
89 89
90 * cm.c (cmgoto): Mark variables that gcc -Wuninitialized does not 90 * cm.c (cmgoto): Mark variables that gcc -Wuninitialized does not
91 deduce are never used uninitialized. 91 deduce are never used uninitialized.
92 * term.c (encode_terminal_code): Likewise.
92 93
93 * term.c (encode_terminal_code): Now static. Remove unused local. 94 * term.c (encode_terminal_code): Now static. Remove unused local.
94 95
diff --git a/src/term.c b/src/term.c
index e9e880a0c7f..e78e2e68814 100644
--- a/src/term.c
+++ b/src/term.c
@@ -533,8 +533,8 @@ encode_terminal_code (struct glyph *src, int src_len, struct coding_system *codi
533 { 533 {
534 if (src->type == COMPOSITE_GLYPH) 534 if (src->type == COMPOSITE_GLYPH)
535 { 535 {
536 struct composition *cmp; 536 struct composition *cmp IF_LINT (= NULL);
537 Lisp_Object gstring; 537 Lisp_Object gstring IF_LINT (= Qnil);
538 int i; 538 int i;
539 539
540 nbytes = buf - encode_terminal_src; 540 nbytes = buf - encode_terminal_src;
@@ -595,7 +595,7 @@ encode_terminal_code (struct glyph *src, int src_len, struct coding_system *codi
595 else if (! CHAR_GLYPH_PADDING_P (*src)) 595 else if (! CHAR_GLYPH_PADDING_P (*src))
596 { 596 {
597 GLYPH g; 597 GLYPH g;
598 int c; 598 int c IF_LINT (= 0);
599 Lisp_Object string; 599 Lisp_Object string;
600 600
601 string = Qnil; 601 string = Qnil;