diff --git a/psftp.c b/psftp.c index 65d52c3b..179a1e90 100644 --- a/psftp.c +++ b/psftp.c @@ -2842,7 +2842,6 @@ int psftp_main(int argc, char *argv[]) int mode = 0; int modeflags = 0; char *batchfile = NULL; - int errors = 0; flags = FLAG_STDERR | FLAG_INTERACTIVE #ifdef FLAG_SYNCAGENT @@ -2858,7 +2857,6 @@ int psftp_main(int argc, char *argv[]) do_defaults(NULL, &cfg); loaded_session = FALSE; - errors = 0; for (i = 1; i < argc; i++) { int ret; if (argv[i][0] != '-') {