summaryrefslogtreecommitdiff
path: root/exa/exa_glyphs.c
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2009-09-23 08:24:06 +0200
committerMichel Dänzer <daenzer@vmware.com>2009-09-23 08:24:06 +0200
commit096f21bb7a1217443d8a03529b1a2938518eb24f (patch)
tree6df1d363c36e65eeeafd0f555e6a564260395411 /exa/exa_glyphs.c
parent824a09d856a5f750694e11d2fd2faaa3de705eaa (diff)
EXA: Fix some issues pointed out by clang.
Remove dead variables, fix use of uninitialized values, that kind of thing.
Diffstat (limited to 'exa/exa_glyphs.c')
-rw-r--r--exa/exa_glyphs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/exa/exa_glyphs.c b/exa/exa_glyphs.c
index d621ccf76..bf097c32f 100644
--- a/exa/exa_glyphs.c
+++ b/exa/exa_glyphs.c
@@ -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)
{