summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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