[PATCH 3/3] Xext: fix unused variable warnings in xf86bigfont.c
Peter Hutterer
peter.hutterer at who-t.net
Tue Oct 16 18:25:16 PDT 2012
On Mon, Oct 15, 2012 at 01:44:01AM -0500, Yaakov (Cygwin/X) wrote:
> From: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>
>
> These were rendered unused by commit 2c7c520cfe0df30f4bc3adba59d9c62582823bf8.
>
> Signed-off-by: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>
Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>
Cheers,
Peter
> ---
> Xext/xf86bigfont.c | 12 ------------
> 1 files changed, 0 insertions(+), 12 deletions(-)
>
> diff --git a/Xext/xf86bigfont.c b/Xext/xf86bigfont.c
> index faf81f7..46b3242 100644
> --- a/Xext/xf86bigfont.c
> +++ b/Xext/xf86bigfont.c
> @@ -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);
> --
> 1.7.9
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
>
More information about the xorg-devel
mailing list