summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-03-15 10:58:36 -0400
committerAdam Jackson <ajax@redhat.com>2011-03-28 13:00:43 -0400
commit5275fbe2e226e1c2a46d26288390c8ef6e1a6a52 (patch)
tree5ff5a766c5221897fa973be0673613a149143796
parentf1c2c01ac9ea7381cb4cd21ac1b2185ff28da3ec (diff)
render: warning fixes
picture.c: In function 'CompositeTriStrip': picture.c:1777:25: warning: unused variable 'ps' picture.c: In function 'CompositeTriFan': picture.c:1807:16: warning: unused variable 'pScreen' Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--render/picture.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/render/picture.c b/render/picture.c
index 015d63364..e7e1f2b41 100644
--- a/render/picture.c
+++ b/render/picture.c
@@ -1773,8 +1773,6 @@ CompositeTriStrip (CARD8 op,
int npoints,
xPointFixed *points)
{
- ScreenPtr pScreen = pDst->pDrawable->pScreen;
- PictureScreenPtr ps = GetPictureScreen(pScreen);
xTriangle *tris, *tri;
int ntri;
@@ -1804,7 +1802,6 @@ CompositeTriFan (CARD8 op,
int npoints,
xPointFixed *points)
{
- ScreenPtr pScreen = pDst->pDrawable->pScreen;
xTriangle *tris, *tri;
xPointFixed *first;
int ntri;