diff options
author | Adam Jackson <ajax@redhat.com> | 2016-06-20 12:57:11 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2016-08-16 15:56:22 -0400 |
commit | 2f981c06a5b9b9eab5e8a9b1d0a18281c0d1033f (patch) | |
tree | a46be21dbcfef454a8e4896c7adf6faa36941468 /Xext | |
parent | 0bfa6bf9def43fd14bc79a302b912454e82999b1 (diff) |
xv: Remove some dumb calls SendErrorToClient
We already generate errors from the top level when non-Success is
returned from a dispatch function, so really we were emitting errors
twice.
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'Xext')
-rw-r--r-- | Xext/xvdisp.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Xext/xvdisp.c b/Xext/xvdisp.c index c2d0fc9c1..8a35b7b4e 100644 --- a/Xext/xvdisp.c +++ b/Xext/xvdisp.c @@ -949,7 +949,6 @@ ProcXvShmPutImage(ClientPtr client) static int ProcXvShmPutImage(ClientPtr client) { - SendErrorToClient(client, XvReqCode, xv_ShmPutImage, 0, BadImplementation); return BadImplementation; } #endif @@ -1108,7 +1107,6 @@ ProcXvDispatch(ClientPtr client) UpdateCurrentTime(); if (stuff->data >= xvNumRequests) { - SendErrorToClient(client, XvReqCode, stuff->data, 0, BadRequest); return BadRequest; } @@ -1429,7 +1427,6 @@ SProcXvDispatch(ClientPtr client) UpdateCurrentTime(); if (stuff->data >= xvNumRequests) { - SendErrorToClient(client, XvReqCode, stuff->data, 0, BadRequest); return BadRequest; } |