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