aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/xdisp.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index f3b7c185444..d1343b246ee 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
12011-04-16 Paul Eggert <eggert@cs.ucla.edu> 12011-04-16 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * xdisp.c (x_produce_glyphs): Avoid possibly-uninitialized var.
4
3 * xfns.c (x_real_positions): Mark locals as initialized. 5 * xfns.c (x_real_positions): Mark locals as initialized.
4 6
5 * xmenu.c (xmenu_show): Don't use uninitialized vars. 7 * xmenu.c (xmenu_show): Don't use uninitialized vars.
diff --git a/src/xdisp.c b/src/xdisp.c
index f3928f3b209..e7e8d621a80 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; 22715 int c = 0; /* FIXME: Is 0 right here, when cmp->glyph_len == 0? */
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;