mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-05 21:42:47 -05:00
Unix makefile now uses -O2, which massively cuts down key exchange
time. This gives rise to a whole bunch of spare warnings, one or two of which might have been actual bugs; now all resolved. [originally from svn r3134]
This commit is contained in:
@ -13,6 +13,7 @@ void platform_get_x11_auth(char *display, int *protocol,
|
||||
char *command;
|
||||
int maxsize = *datalen;
|
||||
char *localbuf;
|
||||
int proto = -1;
|
||||
|
||||
/*
|
||||
* Normally we should run `xauth list DISPLAYNAME'. However,
|
||||
@ -36,7 +37,7 @@ void platform_get_x11_auth(char *display, int *protocol,
|
||||
* Read a line from stdin, and attempt to parse it into a
|
||||
* display name (ignored), auth protocol, and auth string.
|
||||
*/
|
||||
int c, i, hexdigit, proto;
|
||||
int c, i, hexdigit;
|
||||
char protoname[64];
|
||||
|
||||
/* Skip the display name. */
|
||||
|
Reference in New Issue
Block a user