Remove some null statements.
Remove several doubled statement-terminal semicolons. Reported by Fernando Carrijo.
This commit is contained in:
parent
21c116219c
commit
b3c7e62664
|
@ -550,8 +550,8 @@ void PanoramiXExtensionInit(int argc, char *argv[])
|
|||
ProcVector[X_SetClipRectangles] = PanoramiXSetClipRectangles;
|
||||
ProcVector[X_FreeGC] = PanoramiXFreeGC;
|
||||
ProcVector[X_ClearArea] = PanoramiXClearToBackground;
|
||||
ProcVector[X_CopyArea] = PanoramiXCopyArea;;
|
||||
ProcVector[X_CopyPlane] = PanoramiXCopyPlane;;
|
||||
ProcVector[X_CopyArea] = PanoramiXCopyArea;
|
||||
ProcVector[X_CopyPlane] = PanoramiXCopyPlane;
|
||||
ProcVector[X_PolyPoint] = PanoramiXPolyPoint;
|
||||
ProcVector[X_PolyLine] = PanoramiXPolyLine;
|
||||
ProcVector[X_PolySegment] = PanoramiXPolySegment;
|
||||
|
@ -574,10 +574,10 @@ void PanoramiXExtensionInit(int argc, char *argv[])
|
|||
ProcVector[X_AllocColor] = PanoramiXAllocColor;
|
||||
ProcVector[X_AllocNamedColor] = PanoramiXAllocNamedColor;
|
||||
ProcVector[X_AllocColorCells] = PanoramiXAllocColorCells;
|
||||
ProcVector[X_AllocColorPlanes] = PanoramiXAllocColorPlanes;
|
||||
ProcVector[X_AllocColorPlanes] = PanoramiXAllocColorPlanes;
|
||||
ProcVector[X_FreeColors] = PanoramiXFreeColors;
|
||||
ProcVector[X_StoreColors] = PanoramiXStoreColors;
|
||||
ProcVector[X_StoreNamedColor] = PanoramiXStoreNamedColor;
|
||||
ProcVector[X_StoreColors] = PanoramiXStoreColors;
|
||||
ProcVector[X_StoreNamedColor] = PanoramiXStoreNamedColor;
|
||||
|
||||
#ifdef RENDER
|
||||
PanoramiXRenderInit ();
|
||||
|
|
|
@ -323,7 +323,7 @@ IsPointerDevice(DeviceIntPtr dev)
|
|||
_X_EXPORT Bool
|
||||
IsKeyboardDevice(DeviceIntPtr dev)
|
||||
{
|
||||
return (dev->key && dev->kbdfeed) && !IsPointerDevice(dev);;
|
||||
return (dev->key && dev->kbdfeed) && !IsPointerDevice(dev);
|
||||
}
|
||||
|
||||
static void DoEnterLeaveEvents(
|
||||
|
|
|
@ -402,7 +402,7 @@ void SwapBarrierReset(void)
|
|||
int i;
|
||||
|
||||
for (i = 0; i <= GLX_MAX_SWAP_BARRIERS; i++) {
|
||||
SwapBarrierPtr pBarrier, pNextBarrier;;
|
||||
SwapBarrierPtr pBarrier, pNextBarrier;
|
||||
for (pBarrier = SwapBarrierList[i];
|
||||
pBarrier;
|
||||
pBarrier = pNextBarrier) {
|
||||
|
|
|
@ -770,7 +770,7 @@ fbdevGetColors (ScreenPtr pScreen, int fb, int n, xColorItem *pdefs)
|
|||
cmap.start = min;
|
||||
cmap.len = max - min + 1;
|
||||
cmap.red = &priv->red[min];
|
||||
cmap.green = &priv->green[min];;
|
||||
cmap.green = &priv->green[min];
|
||||
cmap.blue = &priv->blue[min];
|
||||
cmap.transp = 0;
|
||||
k = ioctl (priv->fd, FBIOGETCMAP, &cmap);
|
||||
|
|
|
@ -435,7 +435,7 @@ again:
|
|||
i = 0;
|
||||
do
|
||||
{
|
||||
configRBuf[++i] = (c = configBuf[configPos++]);;
|
||||
configRBuf[++i] = (c = configBuf[configPos++]);
|
||||
}
|
||||
while ((c != ' ') && (c != '\t') && (c != '\n') && (c != '\r') && (c != '\0') && (c != '#'));
|
||||
--configPos;
|
||||
|
|
|
@ -779,7 +779,7 @@ miPolyFillArc(DrawablePtr pDraw, GCPtr pGC, int narcs, xArc *parcs)
|
|||
for(i = narcs, arc = parcs; --i >= 0; arc++)
|
||||
{
|
||||
if (miFillArcEmpty(arc))
|
||||
continue;;
|
||||
continue;
|
||||
if ((arc->angle2 >= FULLCIRCLE) || (arc->angle2 <= -FULLCIRCLE))
|
||||
{
|
||||
if (miCanFillArc(arc))
|
||||
|
|
|
@ -597,7 +597,7 @@ ProcRRGetScreenInfo (ClientPtr client)
|
|||
if (!pScrPriv || !output)
|
||||
{
|
||||
rep.type = X_Reply;
|
||||
rep.setOfRotations = RR_Rotate_0;;
|
||||
rep.setOfRotations = RR_Rotate_0;
|
||||
rep.sequenceNumber = client->sequence;
|
||||
rep.length = 0;
|
||||
rep.root = WindowTable[pWin->drawable.pScreen->myNum]->drawable.id;
|
||||
|
|
|
@ -125,7 +125,7 @@ static int
|
|||
SProcRRGetOutputInfo (ClientPtr client)
|
||||
{
|
||||
int n;
|
||||
REQUEST(xRRGetOutputInfoReq);;
|
||||
REQUEST(xRRGetOutputInfoReq);
|
||||
|
||||
REQUEST_SIZE_MATCH(xRRGetOutputInfoReq);
|
||||
swaps(&stuff->length, n);
|
||||
|
|
Loading…
Reference in New Issue
Block a user