diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-09-30 12:06:46 -0700 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-09-30 12:06:46 -0700 |
commit | f082e877d54dbafa437fd05e9c07e870cd513be9 (patch) | |
tree | 95b2168e5a1bd2df9b38c80424e479ddee8e0d10 /uxa/uxa-glyphs.c | |
parent | 836d24f2cc3836fbd1695cf1f88c2af975b4862c (diff) |
Work around gcc uninitialized variable warnings
GCC isn't smart enough to analyze the control flow and figure out that
these are false positives, but initializing them shouldn't hurt, so work
around it.
Diffstat (limited to 'uxa/uxa-glyphs.c')
-rw-r--r-- | uxa/uxa-glyphs.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |