aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/os/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/os/connection.c')
-rw-r--r--xorg-server/os/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/os/connection.c b/xorg-server/os/connection.c
index 50ed4ae69..f34cc3ea3 100644
--- a/xorg-server/os/connection.c
+++ b/xorg-server/os/connection.c
@@ -929,7 +929,7 @@ ErrorConnMax(XtransConnInfo trans_conn)
{
int fd = _XSERVTransGetConnectionNumber(trans_conn);
xConnSetupPrefix csp;
- char pad[3];
+ char pad[3] = { 0, 0, 0 };
struct iovec iov[3];
char byteOrder = 0;
int whichbyte = 1;