Hasn't been necessary since:

    commit 92ed75ac59e2d3af149cddb962efd05fc8487750
    Author: Jamey Sharp <[email protected]>
    Date:   Mon May 10 20:22:05 2010 -0700

        Eliminate boilerplate around client->noClientException.

Signed-off-by: Adam Jackson <[email protected]>
---
 Xext/sync.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/Xext/sync.c b/Xext/sync.c
index 4c59fea..d04ee25 100644
--- a/Xext/sync.c
+++ b/Xext/sync.c
@@ -1899,7 +1899,7 @@ ProcSyncCreateFence(ClientPtr client)
     if (!AddResource(stuff->fid, RTFence, (void *) pFence))
         return BadAlloc;
 
-    return client->noClientException;
+    return Success;
 }
 
 static int
@@ -1940,7 +1940,7 @@ ProcSyncTriggerFence(ClientPtr client)
 
     miSyncTriggerFence(pFence);
 
-    return client->noClientException;
+    return Success;
 }
 
 static int
@@ -1962,7 +1962,7 @@ ProcSyncResetFence(ClientPtr client)
 
     pFence->funcs.Reset(pFence);
 
-    return client->noClientException;
+    return Success;
 }
 
 static int
@@ -1980,7 +1980,7 @@ ProcSyncDestroyFence(ClientPtr client)
         return rc;
 
     FreeResource(stuff->fid, RT_NONE);
-    return client->noClientException;
+    return Success;
 }
 
 static int
@@ -2012,7 +2012,7 @@ ProcSyncQueryFence(ClientPtr client)
     }
 
     WriteToClient(client, sizeof(xSyncQueryFenceReply), &rep);
-    return client->noClientException;
+    return Success;
 }
 
 static int
@@ -2090,7 +2090,7 @@ ProcSyncAwaitFence(ClientPtr client)
 
     SyncAwaitEpilogue(client, items, pAwaitUnion);
 
-    return client->noClientException;
+    return Success;
 }
 
 /*
-- 
2.7.4

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to