diff options
Diffstat (limited to 'xts5/XIproto/GrabDeviceButton.m')
-rw-r--r-- | xts5/XIproto/GrabDeviceButton.m | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xts5/XIproto/GrabDeviceButton.m b/xts5/XIproto/GrabDeviceButton.m index 87d9e7bd..b4f501ab 100644 --- a/xts5/XIproto/GrabDeviceButton.m +++ b/xts5/XIproto/GrabDeviceButton.m @@ -129,7 +129,7 @@ tester() { Create_Client(CLIENT); - (void) Create_Default_Window(CLIENT); + Create_Default_Window(CLIENT); if (!Setup_Extension_DeviceInfo(BtnMask)) { Log_Err("Required extension devices are not present\n"); @@ -145,18 +145,18 @@ tester() switch(test_type) { case GOOD: Log_Trace("client %d sent default GrabDeviceButton request\n", CLIENT); - (void) Expect_Nothing(CLIENT); + Expect_Nothing(CLIENT); break; case BAD_LENGTH: Log_Trace("client %d sent GrabDeviceButton 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 GrabDeviceButton 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", |