diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2017-12-10 23:57:35 +0100 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2017-12-28 00:17:54 +0100 |
commit | 6acbfab33133a92dbd7f128284d26f94bfeb1af2 (patch) | |
tree | a270c581d3268b20ef8527cffeb8ad91b26b9cf7 /nx-X11/programs/Xserver/Xext/xtest.c | |
parent | bc5f9a2363cb865fa1a8a1427d9320514e7d1889 (diff) | |
download | nx-libs-6acbfab33133a92dbd7f128284d26f94bfeb1af2.tar.gz nx-libs-6acbfab33133a92dbd7f128284d26f94bfeb1af2.tar.bz2 nx-libs-6acbfab33133a92dbd7f128284d26f94bfeb1af2.zip |
reduce usage of uninitialised bytes
as reported by valgrind
Diffstat (limited to 'nx-X11/programs/Xserver/Xext/xtest.c')
-rw-r--r-- | nx-X11/programs/Xserver/Xext/xtest.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |