From 6acbfab33133a92dbd7f128284d26f94bfeb1af2 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Sun, 10 Dec 2017 23:57:35 +0100 Subject: reduce usage of uninitialised bytes as reported by valgrind --- nx-X11/programs/Xserver/Xext/xtest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nx-X11/programs/Xserver/Xext/xtest.c') diff --git a/nx-X11/programs/Xserver/Xext/xtest.c b/nx-X11/programs/Xserver/Xext/xtest.c index d78efd39b..a392599ea 100644 --- a/nx-X11/programs/Xserver/Xext/xtest.c +++ b/nx-X11/programs/Xserver/Xext/xtest.c @@ -111,7 +111,7 @@ static int ProcXTestGetVersion(client) register ClientPtr client; { - xXTestGetVersionReply rep; + xXTestGetVersionReply rep = {0}; REQUEST_SIZE_MATCH(xXTestGetVersionReq); rep.type = X_Reply; @@ -132,7 +132,7 @@ ProcXTestCompareCursor(client) register ClientPtr client; { REQUEST(xXTestCompareCursorReq); - xXTestCompareCursorReply rep; + xXTestCompareCursorReply rep = {0}; WindowPtr pWin; CursorPtr pCursor; -- cgit v1.2.3