mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00:00
Remove an unused variable (should shut up a warning from GCC 4.6).
[originally from svn r9111]
This commit is contained in:
parent
1c28be2056
commit
5eb70af8b1
2
psftp.c
2
psftp.c
@ -2842,7 +2842,6 @@ int psftp_main(int argc, char *argv[])
|
|||||||
int mode = 0;
|
int mode = 0;
|
||||||
int modeflags = 0;
|
int modeflags = 0;
|
||||||
char *batchfile = NULL;
|
char *batchfile = NULL;
|
||||||
int errors = 0;
|
|
||||||
|
|
||||||
flags = FLAG_STDERR | FLAG_INTERACTIVE
|
flags = FLAG_STDERR | FLAG_INTERACTIVE
|
||||||
#ifdef FLAG_SYNCAGENT
|
#ifdef FLAG_SYNCAGENT
|
||||||
@ -2858,7 +2857,6 @@ int psftp_main(int argc, char *argv[])
|
|||||||
do_defaults(NULL, &cfg);
|
do_defaults(NULL, &cfg);
|
||||||
loaded_session = FALSE;
|
loaded_session = FALSE;
|
||||||
|
|
||||||
errors = 0;
|
|
||||||
for (i = 1; i < argc; i++) {
|
for (i = 1; i < argc; i++) {
|
||||||
int ret;
|
int ret;
|
||||||
if (argv[i][0] != '-') {
|
if (argv[i][0] != '-') {
|
||||||
|
Loading…
Reference in New Issue
Block a user