diff options
| author | christos <christos@NetBSD.org> | 1997-06-22 22:33:12 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 1997-06-22 22:33:12 +0000 |
| commit | c22375d4d37a8023e48e1398b94e0b2cbce47c9f (patch) | |
| tree | 155bcf6e58c033077d3fefad216ee7cfa47719d4 /libexec | |
| parent | 63a16956e7612a1f5aed19bbf875fdf97a52ab51 (diff) | |
missed some warnings.
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/ftpd/conf.c | 6 | ||||
| -rw-r--r-- | libexec/ftpd/ftpd.c | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/libexec/ftpd/conf.c b/libexec/ftpd/conf.c index 7e9774c36fa..512f3fe36d2 100644 --- a/libexec/ftpd/conf.c +++ b/libexec/ftpd/conf.c @@ -1,4 +1,4 @@ -/* $NetBSD: conf.c,v 1.2 1997/06/18 19:05:47 christos Exp $ */ +/* $NetBSD: conf.c,v 1.3 1997/06/22 22:33:12 christos Exp $ */ /*- * Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: conf.c,v 1.2 1997/06/18 19:05:47 christos Exp $"); +__RCSID("$NetBSD: conf.c,v 1.3 1997/06/22 22:33:12 christos Exp $"); #endif /* not lint */ #include <sys/types.h> @@ -406,7 +406,7 @@ do_conversion(fname) struct ftpconv *cp; struct stat st; int o_errno; - char *base; + char *base = NULL; o_errno = errno; for (cp = curclass.conversions; cp != NULL; cp = cp->next) { diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index 643e057aead..bfc7609836f 100644 --- a/libexec/ftpd/ftpd.c +++ b/libexec/ftpd/ftpd.c @@ -1,4 +1,4 @@ -/* $NetBSD: ftpd.c,v 1.27 1997/06/21 18:01:35 cjs Exp $ */ +/* $NetBSD: ftpd.c,v 1.28 1997/06/22 22:33:13 christos Exp $ */ /* * Copyright (c) 1985, 1988, 1990, 1992, 1993, 1994 @@ -44,7 +44,7 @@ __COPYRIGHT( #if 0 static char sccsid[] = "@(#)ftpd.c 8.5 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: ftpd.c,v 1.27 1997/06/21 18:01:35 cjs Exp $"); +__RCSID("$NetBSD: ftpd.c,v 1.28 1997/06/22 22:33:13 christos Exp $"); #endif #endif /* not lint */ @@ -745,9 +745,9 @@ void retrieve(cmd, name) char *cmd, *name; { - FILE *fin, *dout; + FILE *fin = NULL, *dout; struct stat st; - int (*closefunc) __P((FILE *)); + int (*closefunc) __P((FILE *)) = NULL; int log; log = (cmd == 0); |
