Xext: fix unused variable warnings in xf86bigfont.c
These were rendered unused by commit 2c7c520cfe
.
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
344eea237f
commit
89447e1b50
|
@ -296,8 +296,6 @@ ProcXF86BigfontQueryVersion(ClientPtr client)
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
if (client->swapped) {
|
if (client->swapped) {
|
||||||
char tmp;
|
|
||||||
|
|
||||||
swaps(&reply.sequenceNumber);
|
swaps(&reply.sequenceNumber);
|
||||||
swapl(&reply.length);
|
swapl(&reply.length);
|
||||||
swaps(&reply.majorVersion);
|
swaps(&reply.majorVersion);
|
||||||
|
@ -313,8 +311,6 @@ ProcXF86BigfontQueryVersion(ClientPtr client)
|
||||||
static void
|
static void
|
||||||
swapCharInfo(xCharInfo * pCI)
|
swapCharInfo(xCharInfo * pCI)
|
||||||
{
|
{
|
||||||
char tmp;
|
|
||||||
|
|
||||||
swaps(&pCI->leftSideBearing);
|
swaps(&pCI->leftSideBearing);
|
||||||
swaps(&pCI->rightSideBearing);
|
swaps(&pCI->rightSideBearing);
|
||||||
swaps(&pCI->characterWidth);
|
swaps(&pCI->characterWidth);
|
||||||
|
@ -585,8 +581,6 @@ ProcXF86BigfontQueryFont(ClientPtr client)
|
||||||
reply->shmid = shmid;
|
reply->shmid = shmid;
|
||||||
reply->shmsegoffset = 0;
|
reply->shmsegoffset = 0;
|
||||||
if (client->swapped) {
|
if (client->swapped) {
|
||||||
char tmp;
|
|
||||||
|
|
||||||
swaps(&reply->sequenceNumber);
|
swaps(&reply->sequenceNumber);
|
||||||
swapl(&reply->length);
|
swapl(&reply->length);
|
||||||
swapCharInfo(&reply->minBounds);
|
swapCharInfo(&reply->minBounds);
|
||||||
|
@ -613,8 +607,6 @@ ProcXF86BigfontQueryFont(ClientPtr client)
|
||||||
prFP->name = pFP->name;
|
prFP->name = pFP->name;
|
||||||
prFP->value = pFP->value;
|
prFP->value = pFP->value;
|
||||||
if (client->swapped) {
|
if (client->swapped) {
|
||||||
char tmp;
|
|
||||||
|
|
||||||
swapl(&prFP->name);
|
swapl(&prFP->name);
|
||||||
swapl(&prFP->value);
|
swapl(&prFP->value);
|
||||||
}
|
}
|
||||||
|
@ -636,8 +628,6 @@ ProcXF86BigfontQueryFont(ClientPtr client)
|
||||||
for (j = 0; j < nCharInfos; j++, ps++) {
|
for (j = 0; j < nCharInfos; j++, ps++) {
|
||||||
*ps = pIndex2UniqIndex[j];
|
*ps = pIndex2UniqIndex[j];
|
||||||
if (client->swapped) {
|
if (client->swapped) {
|
||||||
char tmp;
|
|
||||||
|
|
||||||
swaps(ps);
|
swaps(ps);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -673,7 +663,6 @@ static int
|
||||||
SProcXF86BigfontQueryVersion(ClientPtr client)
|
SProcXF86BigfontQueryVersion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXF86BigfontQueryVersionReq);
|
REQUEST(xXF86BigfontQueryVersionReq);
|
||||||
char tmp;
|
|
||||||
|
|
||||||
swaps(&stuff->length);
|
swaps(&stuff->length);
|
||||||
return ProcXF86BigfontQueryVersion(client);
|
return ProcXF86BigfontQueryVersion(client);
|
||||||
|
@ -683,7 +672,6 @@ static int
|
||||||
SProcXF86BigfontQueryFont(ClientPtr client)
|
SProcXF86BigfontQueryFont(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXF86BigfontQueryFontReq);
|
REQUEST(xXF86BigfontQueryFontReq);
|
||||||
char tmp;
|
|
||||||
|
|
||||||
swaps(&stuff->length);
|
swaps(&stuff->length);
|
||||||
REQUEST_SIZE_MATCH(xXF86BigfontQueryFontReq);
|
REQUEST_SIZE_MATCH(xXF86BigfontQueryFontReq);
|
||||||
|
|
Loading…
Reference in New Issue