projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dda3aed
)
* xdisp.c (x_produce_glyphs): Avoid possibly-uninitialized var.
author
Paul Eggert
<eggert@cs.ucla.edu>
Sat, 16 Apr 2011 19:42:09 +0000
(12:42 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Sat, 16 Apr 2011 19:42:09 +0000
(12:42 -0700)
src/ChangeLog
patch
|
blob
|
history
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index f3b7c18544446ec4a147a332494cd418a3fa37cb..d1343b246ee3d18d12ef3841fae85e050fe8f91c 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,5
+1,7
@@
2011-04-16 Paul Eggert <eggert@cs.ucla.edu>
+ * xdisp.c (x_produce_glyphs): Avoid possibly-uninitialized var.
+
* xfns.c (x_real_positions): Mark locals as initialized.
* xmenu.c (xmenu_show): Don't use uninitialized vars.
diff --git
a/src/xdisp.c
b/src/xdisp.c
index f3928f3b2095dcd7df632355a4f0a048bb36ce3c..e7e8d621a80df2c0c5d8aeab144ac63746e7e5f7 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-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
;
+ int c
= 0; /* FIXME: Is 0 right here, when cmp->glyph_len == 0? */
XChar2b char2b;
struct font_metrics *pcm;
int font_not_found_p;