* xdisp.c (x_produce_glyphs): Mark var as initialized (Bug#8512).
This commit is contained in:
parent
68afa9ca47
commit
399c71d323
2 changed files with 2 additions and 3 deletions
|
@ -35,8 +35,7 @@
|
|||
|
||||
* xfns.c (Fx_file_dialog): Rename local to avoid shadowing.
|
||||
|
||||
* xdisp.c (x_produce_glyphs): Avoid possibly-uninitialized
|
||||
var (Bug#8512).
|
||||
* xdisp.c (x_produce_glyphs): Mark var as initialized (Bug#8512).
|
||||
|
||||
* xfns.c (x_real_positions): Mark locals as initialized.
|
||||
|
||||
|
|
|
@ -22712,7 +22712,7 @@ x_produce_glyphs (struct it *it)
|
|||
int lbearing, rbearing;
|
||||
int i, width, ascent, descent;
|
||||
int left_padded = 0, right_padded = 0;
|
||||
int c = 0; /* FIXME: Is 0 right here, when cmp->glyph_len == 0? */
|
||||
int c IF_LINT (= 0); /* cmp->glyph_len can't be zero; see Bug#8512 */
|
||||
XChar2b char2b;
|
||||
struct font_metrics *pcm;
|
||||
int font_not_found_p;
|
||||
|
|
Loading…
Add table
Reference in a new issue