Permalink
Browse files

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
  • Loading branch information...
1 parent 115393d commit 5aca142a0fb7d39f0c905c4e422ab4bf51a0f88e jacob committed Mar 1, 2011
Showing with 0 additions and 2 deletions.
  1. +0 −2 psftp.c
View
2 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] != '-') {

0 comments on commit 5aca142

Please sign in to comment.