1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00

Make sure that auth->xdmseen is initialised (to NULL) even if it's not used.

[originally from svn r5375]
This commit is contained in:
Ben Harris 2005-02-21 18:13:51 +00:00
parent 38c9737e19
commit f09e3841de

View File

@ -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;