xfixes: useless (void) typecast removal
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
4eeaee1e5a
commit
bfab422dcd
|
@ -404,7 +404,7 @@ ProcXFixesGetCursorImage (ClientPtr client)
|
||||||
swapl (&rep->cursorSerial, n);
|
swapl (&rep->cursorSerial, n);
|
||||||
SwapLongs (image, npixels);
|
SwapLongs (image, npixels);
|
||||||
}
|
}
|
||||||
(void) WriteToClient(client, sizeof (xXFixesGetCursorImageReply) +
|
WriteToClient(client, sizeof (xXFixesGetCursorImageReply) +
|
||||||
(npixels << 2), (char *) rep);
|
(npixels << 2), (char *) rep);
|
||||||
xfree (rep);
|
xfree (rep);
|
||||||
return client->noClientException;
|
return client->noClientException;
|
||||||
|
@ -482,7 +482,7 @@ ProcXFixesGetCursorName (ClientPtr client)
|
||||||
swaps (&reply.nbytes, n);
|
swaps (&reply.nbytes, n);
|
||||||
}
|
}
|
||||||
WriteReplyToClient(client, sizeof(xXFixesGetCursorNameReply), &reply);
|
WriteReplyToClient(client, sizeof(xXFixesGetCursorNameReply), &reply);
|
||||||
(void)WriteToClient(client, len, str);
|
WriteToClient(client, len, str);
|
||||||
|
|
||||||
return(client->noClientException);
|
return(client->noClientException);
|
||||||
}
|
}
|
||||||
|
@ -564,7 +564,7 @@ ProcXFixesGetCursorImageAndName (ClientPtr client)
|
||||||
swaps (&rep->nbytes, n);
|
swaps (&rep->nbytes, n);
|
||||||
SwapLongs (image, npixels);
|
SwapLongs (image, npixels);
|
||||||
}
|
}
|
||||||
(void) WriteToClient(client, sizeof (xXFixesGetCursorImageAndNameReply) +
|
WriteToClient(client, sizeof (xXFixesGetCursorImageAndNameReply) +
|
||||||
(npixels << 2) + nbytesRound, (char *) rep);
|
(npixels << 2) + nbytesRound, (char *) rep);
|
||||||
xfree (rep);
|
xfree (rep);
|
||||||
return client->noClientException;
|
return client->noClientException;
|
||||||
|
@ -893,7 +893,7 @@ ProcXFixesHideCursor (ClientPtr client)
|
||||||
ret = createCursorHideCount(client, pWin->drawable.pScreen);
|
ret = createCursorHideCount(client, pWin->drawable.pScreen);
|
||||||
|
|
||||||
if (ret == Success) {
|
if (ret == Success) {
|
||||||
(void) CursorDisplayCursor(PickPointer(client), pWin->drawable.pScreen, CursorCurrent);
|
CursorDisplayCursor(PickPointer(client), pWin->drawable.pScreen, CursorCurrent);
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
@ -987,7 +987,7 @@ CursorFreeHideCount (pointer data, XID id)
|
||||||
ScreenPtr pScreen = pChc->pScreen;
|
ScreenPtr pScreen = pChc->pScreen;
|
||||||
|
|
||||||
deleteCursorHideCount(pChc, pChc->pScreen);
|
deleteCursorHideCount(pChc, pChc->pScreen);
|
||||||
(void) CursorDisplayCursor(inputInfo.pointer, pScreen, CursorCurrent);
|
CursorDisplayCursor(inputInfo.pointer, pScreen, CursorCurrent);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue