diff options
author | 2012-06-22 14:36:33 +0000 | |
---|---|---|
committer | 2012-06-22 14:36:33 +0000 | |
commit | b39ec42c36429d3ca0577879788b7a4a2a33c272 (patch) | |
tree | f6d9505accb3a1679e094d5c56bdb7bd37d70611 | |
parent | remove dead code following 'for (;;)' loops. (diff) | |
download | wireguard-openbsd-b39ec42c36429d3ca0577879788b7a4a2a33c272.tar.xz wireguard-openbsd-b39ec42c36429d3ca0577879788b7a4a2a33c272.zip |
Remove unused variable leftover from tab-completion changes.
From Steve.McClellan at radisys com, ok markus@
-rw-r--r-- | usr.bin/ssh/sftp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/ssh/sftp.c b/usr.bin/ssh/sftp.c index bab97a8c9f3..4964f79e6f7 100644 --- a/usr.bin/ssh/sftp.c +++ b/usr.bin/ssh/sftp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sftp.c,v 1.135 2012/04/20 03:24:23 djm Exp $ */ +/* $OpenBSD: sftp.c,v 1.136 2012/06/22 14:36:33 dtucker Exp $ */ /* * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> * @@ -760,7 +760,6 @@ static int do_globbed_ls(struct sftp_conn *conn, char *path, char *strip_path, int lflag) { - Attrib *a = NULL; char *fname, *lname; glob_t g; int err; @@ -806,7 +805,7 @@ do_globbed_ls(struct sftp_conn *conn, char *path, char *strip_path, colspace = width / columns; } - for (i = 0; g.gl_pathv[i] && !interrupted; i++, a = NULL) { + for (i = 0; g.gl_pathv[i] && !interrupted; i++) { fname = path_strip(g.gl_pathv[i], strip_path); if (lflag & LS_LONG_VIEW) { if (g.gl_statv[i] == NULL) { |