diff options
Diffstat (limited to 'xts5/Xproto/pFreeColors.m')
-rw-r--r-- | xts5/Xproto/pFreeColors.m | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/xts5/Xproto/pFreeColors.m b/xts5/Xproto/pFreeColors.m index a98fef0f..f9373c7a 100644 --- a/xts5/Xproto/pFreeColors.m +++ b/xts5/Xproto/pFreeColors.m @@ -146,8 +146,8 @@ tester() { Create_Client(CLIENT); - (void) Create_Default_Window(CLIENT); - (void) Create_Default_Colormap(CLIENT); + Create_Default_Window(CLIENT); + Create_Default_Colormap(CLIENT); /* allocate a color and store pixel from reply in global */ @@ -161,7 +161,7 @@ tester() Log_Trace("client %d received AllocNamedColor reply\n", CLIENT); } reply_pixel = alloc_reply->pixel; - (void) Expect_Nothing(CLIENT); + Expect_Nothing(CLIENT); /* free the allocated color cell */ @@ -172,18 +172,18 @@ tester() switch(test_type) { case GOOD: Log_Trace("client %d sent default FreeColors request\n", CLIENT); - (void) Expect_Nothing(CLIENT); + Expect_Nothing(CLIENT); break; case BAD_LENGTH: Log_Trace("client %d sent FreeColors 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 FreeColors 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", |