diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-03-08 22:21:25 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-03-08 22:21:25 -0800 |
commit | c2ed9c8b0cf694c20eea63f31b7c276efa6a1008 (patch) | |
tree | 6ac89f1e898f5b0b5d04bded3569c2ffc330a192 /src/term.c | |
parent | 071048a3f588c7ae789983bf411a6ea948758abc (diff) | |
download | emacs-c2ed9c8b0cf694c20eea63f31b7c276efa6a1008.tar.gz |
* term.c (encode_terminal_code): Mark vars for gcc -Wuninitialized.
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 { if (src->type == COMPOSITE_GLYPH) { - struct composition *cmp; - Lisp_Object gstring; + struct composition *cmp IF_LINT (= NULL); + Lisp_Object gstring IF_LINT (= Qnil); int i; nbytes = buf - encode_terminal_src; @@ -595,7 +595,7 @@ encode_terminal_code (struct glyph *src, int src_len, struct coding_system *codi else if (! CHAR_GLYPH_PADDING_P (*src)) { GLYPH g; - int c; + int c IF_LINT (= 0); Lisp_Object string; string = Qnil; |