From 5eb70af8b1f1827d88ca30191dd3969fe4ffb38d Mon Sep 17 00:00:00 2001 From: Jacob Nevins Date: Tue, 1 Mar 2011 23:04:37 +0000 Subject: [PATCH] Remove an unused variable (should shut up a warning from GCC 4.6). [originally from svn r9111] --- psftp.c | 2 -- 1 file changed, 2 deletions(-) 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] != '-') {