diff options
author | Darren Tucker <dtucker@zip.com.au> | 2010-01-16 13:43:50 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2010-01-16 13:43:50 +1100 |
commit | dab129bef57139232133a870430a9284858909bf (patch) | |
tree | a9408c7cbca44c5f0b9264f34f6863273ed673ff | |
parent | 69371b511b998f2637fdf4bf708e15462162bc0d (diff) |
- markus@cvs.openbsd.org 2010/01/15 09:24:23
[sftp-common.c]
unused
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | sftp-common.c | 4 |
2 files changed, 5 insertions, 3 deletions
@@ -5,6 +5,10 @@ | |||
5 | and group_from_gid. | 5 | and group_from_gid. |
6 | - (dtucker) [openbsd-compat/openbsd-compat.h] Fix prototypes, spotted by | 6 | - (dtucker) [openbsd-compat/openbsd-compat.h] Fix prototypes, spotted by |
7 | Tim. | 7 | Tim. |
8 | - (dtucker) OpenBSD CVS Sync | ||
9 | - markus@cvs.openbsd.org 2010/01/15 09:24:23 | ||
10 | [sftp-common.c] | ||
11 | unused | ||
8 | 12 | ||
9 | 20100115 | 13 | 20100115 |
10 | - (dtucker) OpenBSD CVS Sync | 14 | - (dtucker) OpenBSD CVS Sync |
diff --git a/sftp-common.c b/sftp-common.c index d015d7549..a042875c6 100644 --- a/sftp-common.c +++ b/sftp-common.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sftp-common.c,v 1.22 2010/01/14 23:41:49 dtucker Exp $ */ | 1 | /* $OpenBSD: sftp-common.c,v 1.23 2010/01/15 09:24:23 markus Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2001 Markus Friedl. All rights reserved. |
4 | * Copyright (c) 2001 Damien Miller. All rights reserved. | 4 | * Copyright (c) 2001 Damien Miller. All rights reserved. |
@@ -190,8 +190,6 @@ char * | |||
190 | ls_file(const char *name, const struct stat *st, int remote, int si_units) | 190 | ls_file(const char *name, const struct stat *st, int remote, int si_units) |
191 | { | 191 | { |
192 | int ulen, glen, sz = 0; | 192 | int ulen, glen, sz = 0; |
193 | struct passwd *pw; | ||
194 | struct group *gr; | ||
195 | struct tm *ltime = localtime(&st->st_mtime); | 193 | struct tm *ltime = localtime(&st->st_mtime); |
196 | char *user, *group; | 194 | char *user, *group; |
197 | char buf[1024], mode[11+1], tbuf[12+1], ubuf[11+1], gbuf[11+1]; | 195 | char buf[1024], mode[11+1], tbuf[12+1], ubuf[11+1], gbuf[11+1]; |