summaryrefslogtreecommitdiff
path: root/xts5/XIproto/UngrabDeviceKey.m
diff options
context:
space:
mode:
Diffstat (limited to 'xts5/XIproto/UngrabDeviceKey.m')
-rw-r--r--xts5/XIproto/UngrabDeviceKey.m14
1 files changed, 7 insertions, 7 deletions
diff --git a/xts5/XIproto/UngrabDeviceKey.m b/xts5/XIproto/UngrabDeviceKey.m
index e3f55fae..2d986357 100644
--- a/xts5/XIproto/UngrabDeviceKey.m
+++ b/xts5/XIproto/UngrabDeviceKey.m
@@ -130,7 +130,7 @@ tester()
{
Create_Client(CLIENT);
- (void) Create_Default_Window(CLIENT);
+ Create_Default_Window(CLIENT);
if (!Setup_Extension_DeviceInfo(KeyMask))
{
Log_Err("Required extension devices are not present\n");
@@ -141,7 +141,7 @@ tester()
gkr = (xGrabDeviceKeyReq *) Make_XInput_Req(CLIENT, X_GrabDeviceKey);
Send_XInput_Req(CLIENT, (xReq *) gkr);
Log_Trace("client %d sent default GrabDeviceKey request\n", CLIENT);
- (void) Expect_Nothing(CLIENT);
+ Expect_Nothing(CLIENT);
Free_Req(gkr);
Set_Test_Type(CLIENT, test_type);
@@ -151,18 +151,18 @@ tester()
switch(test_type) {
case GOOD:
Log_Trace("client %d sent default UngrabDeviceKey request\n", CLIENT);
- (void) Expect_Nothing(CLIENT);
+ Expect_Nothing(CLIENT);
break;
case BAD_LENGTH:
Log_Trace("client %d sent UngrabDeviceKey request with bad length (%d)\n", CLIENT, req->length);
- (void) Expect_BadLength(CLIENT);
- (void) Expect_Nothing(CLIENT);
+ Expect_BadLength(CLIENT);
+ Expect_Nothing(CLIENT);
break;
case TOO_LONG:
case JUST_TOO_LONG:
Log_Trace("client %d sent overlong UngrabDeviceKey request (%d)\n", CLIENT, req->length);
- (void) Expect_BadLength(CLIENT);
- (void) Expect_Nothing(CLIENT);
+ Expect_BadLength(CLIENT);
+ Expect_Nothing(CLIENT);
break;
default:
Log_Err("INTERNAL ERROR: test_type %d not one of GOOD(%d), BAD_LENGTH(%d), TOO_LONG(%d) or JUST_TOO_LONG(%d)\n",