[PATCH 2/4] render: Remove unused variables

Søren Sandmann sandmann at cs.au.dk
Wed Mar 30 09:06:26 PDT 2011


From: Søren Sandmann Pedersen <ssp at redhat.com>

In CompositeTriStrip() pScreen and ps are not used. In
CompositeTriFan(), pScreen is not used.

Signed-off-by: Soren Sandmann <ssp at redhat.com>
---
 render/picture.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/render/picture.c b/render/picture.c
index dd24546..9f3f4b0 100644
--- a/render/picture.c
+++ b/render/picture.c
@@ -1725,8 +1725,6 @@ CompositeTriStrip (CARD8	    op,
 		   int		    npoints,
 		   xPointFixed	    *points)
 {
-    ScreenPtr           pScreen = pDst->pDrawable->pScreen;
-    PictureScreenPtr    ps = GetPictureScreen(pScreen);
     xTriangle           *tris, *tri;
     int                 ntri;
     
@@ -1756,7 +1754,6 @@ CompositeTriFan (CARD8		op,
 		 int		npoints,
 		 xPointFixed	*points)
 {
-    ScreenPtr		pScreen = pDst->pDrawable->pScreen;
     xTriangle		*tris, *tri;
     xPointFixed		*first;
     int			ntri;
-- 
1.7.4



More information about the xorg-devel mailing list