xnest: Delete unused nClipRects GC-private field.

This field was never read at any time in the git history.

Signed-off-by: Jamey Sharp <jamey@minilop.net>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
Jamey Sharp 2010-06-08 13:58:04 -07:00
parent 53a4744b69
commit df4eeb1256
2 changed files with 0 additions and 4 deletions

View File

@ -81,7 +81,6 @@ xnestCreateGC(GCPtr pGC)
xnestGCPriv(pGC)->gc = XCreateGC(xnestDisplay, xnestGCPriv(pGC)->gc = XCreateGC(xnestDisplay,
xnestDefaultDrawables[pGC->depth], xnestDefaultDrawables[pGC->depth],
0L, NULL); 0L, NULL);
xnestGCPriv(pGC)->nClipRects = 0;
return True; return True;
} }
@ -282,7 +281,6 @@ xnestChangeClip(GCPtr pGC, int type, pointer pValue, int nRects)
pGC->clientClipType = type; pGC->clientClipType = type;
pGC->clientClip = pValue; pGC->clientClip = pValue;
xnestGCPriv(pGC)->nClipRects = nRects;
} }
void void
@ -294,7 +292,6 @@ xnestDestroyClip(GCPtr pGC)
pGC->clientClipType = CT_NONE; pGC->clientClipType = CT_NONE;
pGC->clientClip = NULL; pGC->clientClip = NULL;
xnestGCPriv(pGC)->nClipRects = 0;
} }
void void

View File

@ -19,7 +19,6 @@ is" without express or implied warranty.
typedef struct { typedef struct {
XlibGC gc; XlibGC gc;
int nClipRects;
} xnestPrivGC; } xnestPrivGC;
extern DevPrivateKeyRec xnestGCPrivateKeyRec; extern DevPrivateKeyRec xnestGCPrivateKeyRec;