From f09e3841de8c4cc3066f08344e7514b2ed395b1e Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Mon, 21 Feb 2005 18:13:51 +0000 Subject: [PATCH] Make sure that auth->xdmseen is initialised (to NULL) even if it's not used. [originally from svn r5375] --- x11fwd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/x11fwd.c b/x11fwd.c index b868ecb5..760a80b1 100644 --- a/x11fwd.c +++ b/x11fwd.c @@ -111,6 +111,7 @@ void *x11_invent_auth(char *proto, int protomaxlen, auth->fakelen = 16; for (i = 0; i < 16; i++) auth->fakedata[i] = random_byte(); + auth->xdmseen = NULL; } else { assert(proto_id == X11_XDM); auth->fakeproto = X11_XDM;