[PATCH 2/4] render: warning fixes

Adam Jackson ajax at redhat.com
Tue Mar 15 08:05:05 PDT 2011


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'

Signed-off-by: Adam Jackson <ajax 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 015d633..e7e1f2b 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;
-- 
1.7.3.5



More information about the xorg-devel mailing list