From: jacob Date: Tue, 1 Mar 2011 23:04:37 +0000 (+0000) Subject: Remove an unused variable (should shut up a warning from GCC 4.6). X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/5aca142a0fb7d39f0c905c4e422ab4bf51a0f88e Remove an unused variable (should shut up a warning from GCC 4.6). git-svn-id: svn://svn.tartarus.org/sgt/putty@9111 cda61777-01e9-0310-a592-d414129be87e --- 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] != '-') {