From e5b72bd9c6fb06640a5de4031be0dc9b04b4b215 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Wed, 7 Jun 2006 12:05:39 -0700 Subject: [PATCH] Remove 3 compiler warnings in the Xext/xevie.c file --- Xext/xevie.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Xext/xevie.c b/Xext/xevie.c index a468affcc..ccc12371a 100644 --- a/Xext/xevie.c +++ b/Xext/xevie.c @@ -104,7 +104,7 @@ typedef struct { } xevieKeycQueueRec, *xevieKeycQueuePtr; #define KEYC_QUEUE_SIZE 100 -xevieKeycQueueRec keycq[KEYC_QUEUE_SIZE] = {0, NULL}; +xevieKeycQueueRec keycq[KEYC_QUEUE_SIZE] = {{0, NULL}}; static int keycqHead = 0, keycqTail = 0; static int ProcDispatch (ClientPtr), SProcDispatch (ClientPtr); @@ -165,7 +165,6 @@ void ResetProc (ExtensionEntry *extEntry) static int ProcQueryVersion (register ClientPtr client) { - REQUEST (xXevieQueryVersionReq); xXevieQueryVersionReply rep; REQUEST_SIZE_MATCH (xXevieQueryVersionReq); @@ -181,7 +180,6 @@ int ProcQueryVersion (register ClientPtr client) static int ProcStart (register ClientPtr client) { - REQUEST (xXevieStartReq); xXevieStartReply rep; REQUEST_SIZE_MATCH (xXevieStartReq);