EXA: Fix some issues pointed out by clang.

Remove dead variables, fix use of uninitialized values, that kind of thing.
This commit is contained in:
Michel Dänzer 2009-09-23 08:24:06 +02:00
commit 096f21bb7a
3 changed files with 8 additions and 10 deletions

View file

@ -701,7 +701,6 @@ exaGlyphs (CARD8 op,
GlyphListPtr list,
GlyphPtr *glyphs)
{
PicturePtr pPicture;
PixmapPtr pMaskPixmap = 0;
PicturePtr pMask = NULL;
ScreenPtr pScreen = pDst->pDrawable->pScreen;
@ -803,7 +802,6 @@ exaGlyphs (CARD8 op,
while (n--)
{
glyph = *glyphs++;
pPicture = GlyphPicture (glyph)[pScreen->myNum];
if (glyph->info.width > 0 && glyph->info.height > 0)
{