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
|
||||
};
|
||||
if (client->swapped) {
|
||||
char tmp;
|
||||
|
||||
swaps(&reply.sequenceNumber);
|
||||
swapl(&reply.length);
|
||||
swaps(&reply.majorVersion);
|
||||
|
@ -313,8 +311,6 @@ ProcXF86BigfontQueryVersion(ClientPtr client)
|
|||
static void
|
||||
swapCharInfo(xCharInfo * pCI)
|
||||
{
|
||||
char tmp;
|
||||
|
||||
swaps(&pCI->leftSideBearing);
|
||||
swaps(&pCI->rightSideBearing);
|
||||
swaps(&pCI->characterWidth);
|
||||
|
@ -585,8 +581,6 @@ ProcXF86BigfontQueryFont(ClientPtr client)
|
|||
reply->shmid = shmid;
|
||||
reply->shmsegoffset = 0;
|
||||
if (client->swapped) {
|
||||
char tmp;
|
||||
|
||||
swaps(&reply->sequenceNumber);
|
||||
swapl(&reply->length);
|
||||
swapCharInfo(&reply->minBounds);
|
||||
|
@ -613,8 +607,6 @@ ProcXF86BigfontQueryFont(ClientPtr client)
|
|||
prFP->name = pFP->name;
|
||||
prFP->value = pFP->value;
|
||||
if (client->swapped) {
|
||||
char tmp;
|
||||
|
||||
swapl(&prFP->name);
|
||||
swapl(&prFP->value);
|
||||
}
|
||||
|
@ -636,8 +628,6 @@ ProcXF86BigfontQueryFont(ClientPtr client)
|
|||
for (j = 0; j < nCharInfos; j++, ps++) {
|
||||
*ps = pIndex2UniqIndex[j];
|
||||
if (client->swapped) {
|
||||
char tmp;
|
||||
|
||||
swaps(ps);
|
||||
}
|
||||
}
|
||||
|
@ -673,7 +663,6 @@ static int
|
|||
SProcXF86BigfontQueryVersion(ClientPtr client)
|
||||
{
|
||||
REQUEST(xXF86BigfontQueryVersionReq);
|
||||
char tmp;
|
||||
|
||||
swaps(&stuff->length);
|
||||
return ProcXF86BigfontQueryVersion(client);
|
||||
|
@ -683,7 +672,6 @@ static int
|
|||
SProcXF86BigfontQueryFont(ClientPtr client)
|
||||
{
|
||||
REQUEST(xXF86BigfontQueryFontReq);
|
||||
char tmp;
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_SIZE_MATCH(xXF86BigfontQueryFontReq);
|
||||
|
|
Loading…
Reference in New Issue