xserver: Branch 'master'

James Cloos cloos at kemper.freedesktop.org
Sat Nov 8 09:21:49 PST 2008


 Xext/panoramiX.c          |   10 +++++-----
 dix/events.c              |    2 +-
 hw/dmx/glxProxy/glxswap.c |    2 +-
 hw/kdrive/fbdev/fbdev.c   |    2 +-
 hw/xfree86/parser/scan.c  |    2 +-
 mi/mifillarc.c            |    2 +-
 randr/rrscreen.c          |    2 +-
 randr/rrsdispatch.c       |    2 +-
 xkb/xkb.c                 |    2 +-
 9 files changed, 13 insertions(+), 13 deletions(-)

New commits:
commit b3c7e62664457a3802ebc23785446051624a8c2f
Author: James Cloos <cloos at jhcloos.com>
Date:   Sat Nov 8 12:18:13 2008 -0500

    Remove some null statements.
    
    Remove several doubled statement-terminal semicolons.
    
    Reported by Fernando Carrijo.

diff --git a/Xext/panoramiX.c b/Xext/panoramiX.c
index d948702..bab8c98 100644
--- a/Xext/panoramiX.c
+++ b/Xext/panoramiX.c
@@ -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 ();
diff --git a/dix/events.c b/dix/events.c
index dad786d..632c0f4 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -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(
diff --git a/hw/dmx/glxProxy/glxswap.c b/hw/dmx/glxProxy/glxswap.c
index 8fa04f8..1e184f9 100644
--- a/hw/dmx/glxProxy/glxswap.c
+++ b/hw/dmx/glxProxy/glxswap.c
@@ -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) {
diff --git a/hw/kdrive/fbdev/fbdev.c b/hw/kdrive/fbdev/fbdev.c
index 04f697b..4eeca28 100644
--- a/hw/kdrive/fbdev/fbdev.c
+++ b/hw/kdrive/fbdev/fbdev.c
@@ -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);
diff --git a/hw/xfree86/parser/scan.c b/hw/xfree86/parser/scan.c
index 0ed104d..7f10c0d 100644
--- a/hw/xfree86/parser/scan.c
+++ b/hw/xfree86/parser/scan.c
@@ -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;
diff --git a/mi/mifillarc.c b/mi/mifillarc.c
index 2ca6a4d..f2ab5ce 100644
--- a/mi/mifillarc.c
+++ b/mi/mifillarc.c
@@ -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))
diff --git a/randr/rrscreen.c b/randr/rrscreen.c
index 9c2d09c..a910368 100644
--- a/randr/rrscreen.c
+++ b/randr/rrscreen.c
@@ -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;
diff --git a/randr/rrsdispatch.c b/randr/rrsdispatch.c
index 80d16b7..5037b9e 100644
--- a/randr/rrsdispatch.c
+++ b/randr/rrsdispatch.c
@@ -125,7 +125,7 @@ static int
 SProcRRGetOutputInfo (ClientPtr client)
 {
     int n;
-    REQUEST(xRRGetOutputInfoReq);;
+    REQUEST(xRRGetOutputInfoReq);
 
     REQUEST_SIZE_MATCH(xRRGetOutputInfoReq);
     swaps(&stuff->length, n);
diff --git a/xkb/xkb.c b/xkb/xkb.c
index d588f56..7c1edea 100644
--- a/xkb/xkb.c
+++ b/xkb/xkb.c
@@ -420,7 +420,7 @@ _XkbBell(ClientPtr client, DeviceIntPtr dev, WindowPtr pWin,
         }
     }
     else {
-        client->errorValue = _XkbErrCode2(0x7, bellClass);;
+        client->errorValue = _XkbErrCode2(0x7, bellClass);
         return BadValue;
     }
 


More information about the xorg-commit mailing list