mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-07 04:10:27 -08:00
* term.c (encode_terminal_code): Mark vars for gcc -Wuninitialized.
This commit is contained in:
parent
071048a3f5
commit
c2ed9c8b0c
2 changed files with 4 additions and 3 deletions
|
|
@ -89,6 +89,7 @@
|
|||
|
||||
* cm.c (cmgoto): Mark variables that gcc -Wuninitialized does not
|
||||
deduce are never used uninitialized.
|
||||
* term.c (encode_terminal_code): Likewise.
|
||||
|
||||
* term.c (encode_terminal_code): Now static. Remove unused local.
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue