X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/e411be57d308435211810fd9385ac47fb95d616f..cdcbdf3b83c8a1e4db0b149e818cd24e3596cf2c:/settings.c diff --git a/settings.c b/settings.c index 93e50893..989eedd3 100644 --- a/settings.c +++ b/settings.c @@ -81,7 +81,7 @@ static void gprefs(void *sesskey, char *name, char *def, } while (n < nvals); /* Add any missing values (backward compatibility ect). */ { - int i, j; + int i; for (i = 0; i < nvals; i++) { if (!(seen & 1<ssh_subsys = 0; /* FIXME: load this properly */ cfg->remote_cmd_ptr = cfg->remote_cmd; + cfg->remote_cmd_ptr2 = NULL; gpps(sesskey, "HostName", "", cfg->host, sizeof(cfg->host)); gppi(sesskey, "PortNumber", default_port, &cfg->port);