diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2009-06-11 21:09:47 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2009-06-11 21:09:47 +0000 |
commit | e82928678ad29f95db507eed7988553cfb193f48 (patch) | |
tree | 0709ca9622d2e5acd79522e81317b8f2418f7909 /usr.bin/fstat | |
parent | 0b3c3467d6d45bb043b33a0ca50967b307a1e66d (diff) |
remove unused variables
ok millert@
Diffstat (limited to 'usr.bin/fstat')
-rw-r--r-- | usr.bin/fstat/fstat.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/fstat/fstat.c b/usr.bin/fstat/fstat.c index 09c8f3bc626..7ea6e118447 100644 --- a/usr.bin/fstat/fstat.c +++ b/usr.bin/fstat/fstat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fstat.c,v 1.65 2009/06/07 03:10:09 millert Exp $ */ +/* $OpenBSD: fstat.c,v 1.66 2009/06/11 21:09:46 chl Exp $ */ /* * Copyright (c) 2009 Todd C. Miller <Todd.Miller@courtesan.com> @@ -53,7 +53,7 @@ static char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)fstat.c 8.1 (Berkeley) 6/6/93";*/ -static char *rcsid = "$OpenBSD: fstat.c,v 1.65 2009/06/07 03:10:09 millert Exp $"; +static char *rcsid = "$OpenBSD: fstat.c,v 1.66 2009/06/11 21:09:46 chl Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -498,8 +498,7 @@ socktrans(struct kinfo_file2 *kf) "seqpak" /* 5 */ }; #define STYPEMAX 5 - int len; - char *dname, *stype, stypebuf[24]; + char *stype, stypebuf[24]; struct in_addr laddr, faddr; #ifdef INET6 char xaddrbuf[NI_MAXHOST + 2]; |