diff options
-rw-r--r-- | src/i830_driver.c | 2 | ||||
-rw-r--r-- | uxa/uxa-glyphs.c | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c index ce7b623f..53219c39 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -3058,7 +3058,7 @@ static Bool I830ScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) { ScrnInfoPtr pScrn; - vgaHWPtr hwp; + vgaHWPtr hwp = NULL; I830Ptr pI830; VisualPtr visual; I830Ptr pI8301 = NULL; diff --git a/uxa/uxa-glyphs.c b/uxa/uxa-glyphs.c index 364fcfbc..dc518568 100644 --- a/uxa/uxa-glyphs.c +++ b/uxa/uxa-glyphs.c @@ -668,6 +668,10 @@ uxa_glyphs_intersect(int nlist, GlyphListPtr list, GlyphPtr *glyphs) x = 0; y = 0; + extents.x1 = 0; + extents.y1 = 0; + extents.x2 = 0; + extents.y2 = 0; while (nlist--) { x += list->xOff; y += list->yOff; |