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>
This commit is contained in:
parent
f1c2c01ac9
commit
5275fbe2e2
|
@ -1773,8 +1773,6 @@ CompositeTriStrip (CARD8 op,
|
||||||
int npoints,
|
int npoints,
|
||||||
xPointFixed *points)
|
xPointFixed *points)
|
||||||
{
|
{
|
||||||
ScreenPtr pScreen = pDst->pDrawable->pScreen;
|
|
||||||
PictureScreenPtr ps = GetPictureScreen(pScreen);
|
|
||||||
xTriangle *tris, *tri;
|
xTriangle *tris, *tri;
|
||||||
int ntri;
|
int ntri;
|
||||||
|
|
||||||
|
@ -1804,7 +1802,6 @@ CompositeTriFan (CARD8 op,
|
||||||
int npoints,
|
int npoints,
|
||||||
xPointFixed *points)
|
xPointFixed *points)
|
||||||
{
|
{
|
||||||
ScreenPtr pScreen = pDst->pDrawable->pScreen;
|
|
||||||
xTriangle *tris, *tri;
|
xTriangle *tris, *tri;
|
||||||
xPointFixed *first;
|
xPointFixed *first;
|
||||||
int ntri;
|
int ntri;
|
||||||
|
|
Loading…
Reference in New Issue