X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/ca20bfcf9f32391ac683100cd3f1bfeb48083236..e5eb3a1ca14cf38028d076b06701792af954c90b:/plink.c diff --git a/plink.c b/plink.c index 2802febc..461035a2 100644 --- a/plink.c +++ b/plink.c @@ -314,11 +314,7 @@ void try_output(int is_stderr) int from_backend(int is_stderr, char *data, int len) { - int pos; - DWORD ret; HANDLE h = (is_stderr ? errhandle : outhandle); - void *writedata; - int writelen; int osize, esize; if (is_stderr) { @@ -471,6 +467,7 @@ int main(int argc, char **argv) command[cmdlen++] = d; } while (c != EOF); cfg.remote_cmd_ptr = command; + cfg.remote_cmd_ptr2 = NULL; cfg.nopty = TRUE; /* command => no terminal */ } else if (!strcmp(p, "-P") && argc > 1) { --argc, portnumber = atoi(*++argv);