Coverity: UNINIT: CID 395
[sxemacs] / src / extents.c
index 226a17c..92d1c8b 100644 (file)
@@ -2932,6 +2932,8 @@ extent_fragment_update(struct window * w, struct extent_fragment * ef,
                        if (!NILP(glyph)) {
                                struct glyph_block gb;
 
+                               memset(&gb,0,sizeof(gb));
+
                                gb.glyph = glyph;
                                gb.active = 0; /* BEGIN_GLYPH */
                                gb.width = 0;