diff options
| author | Paul Eggert | 2011-04-16 15:48:31 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-16 15:48:31 -0700 |
| commit | 399c71d323b8beef139437311c78440d0033c652 (patch) | |
| tree | 671978b3e07767c89f1f6406d159aa6285b9b09a /src | |
| parent | 68afa9ca47688981d7d981855c2994d259f7d9ee (diff) | |
| download | emacs-399c71d323b8beef139437311c78440d0033c652.tar.gz emacs-399c71d323b8beef139437311c78440d0033c652.zip | |
* xdisp.c (x_produce_glyphs): Mark var as initialized (Bug#8512).
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/xdisp.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 52a48a87e80..ded7da730fe 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -35,8 +35,7 @@ | |||
| 35 | 35 | ||
| 36 | * xfns.c (Fx_file_dialog): Rename local to avoid shadowing. | 36 | * xfns.c (Fx_file_dialog): Rename local to avoid shadowing. |
| 37 | 37 | ||
| 38 | * xdisp.c (x_produce_glyphs): Avoid possibly-uninitialized | 38 | * xdisp.c (x_produce_glyphs): Mark var as initialized (Bug#8512). |
| 39 | var (Bug#8512). | ||
| 40 | 39 | ||
| 41 | * xfns.c (x_real_positions): Mark locals as initialized. | 40 | * xfns.c (x_real_positions): Mark locals as initialized. |
| 42 | 41 | ||
diff --git a/src/xdisp.c b/src/xdisp.c index e7e8d621a80..3c75a63f4e0 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -22712,7 +22712,7 @@ x_produce_glyphs (struct it *it) | |||
| 22712 | int lbearing, rbearing; | 22712 | int lbearing, rbearing; |
| 22713 | int i, width, ascent, descent; | 22713 | int i, width, ascent, descent; |
| 22714 | int left_padded = 0, right_padded = 0; | 22714 | int left_padded = 0, right_padded = 0; |
| 22715 | int c = 0; /* FIXME: Is 0 right here, when cmp->glyph_len == 0? */ | 22715 | int c IF_LINT (= 0); /* cmp->glyph_len can't be zero; see Bug#8512 */ |
| 22716 | XChar2b char2b; | 22716 | XChar2b char2b; |
| 22717 | struct font_metrics *pcm; | 22717 | struct font_metrics *pcm; |
| 22718 | int font_not_found_p; | 22718 | int font_not_found_p; |