summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2002-08-27 09:05:03 +0000
committeryar <yar@FreeBSD.org>2002-08-27 09:05:03 +0000
commit906476b28e6068732dc08a4e0b81542043c36a44 (patch)
tree8c290df7c64aafb39d02801f3e73603706a43a75 /libexec/ftpd
parent9841ff7102fcb9adf7cbf725f1ef2d2ffda1641e (diff)
downloadFreeBSD-src-906476b28e6068732dc08a4e0b81542043c36a44.zip
FreeBSD-src-906476b28e6068732dc08a4e0b81542043c36a44.tar.gz
Remove variables no longer used.
Diffstat (limited to 'libexec/ftpd')
-rw-r--r--libexec/ftpd/ftpd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index 9e169d4..12bbfd9 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -695,7 +695,7 @@ inithosts(void)
hrp->next = NULL;
thishost = firsthost = lhrp = hrp;
if ((fp = fopen(_PATH_FTPHOSTS, "r")) != NULL) {
- int addrsize, error, gothost;
+ int addrsize, gothost;
void *addr;
struct hostent *hp;
@@ -1616,7 +1616,6 @@ store(char *name, char *mode, int unique)
{
int fd;
FILE *fout, *din;
- struct stat st;
int (*closefunc)(FILE *);
if (*mode == 'a') { /* APPE */
OpenPOWER on IntegriCloud