diff options
author | alex <alex@FreeBSD.org> | 1997-12-25 04:21:08 +0000 |
---|---|---|
committer | alex <alex@FreeBSD.org> | 1997-12-25 04:21:08 +0000 |
commit | 32ddc95d9022f09a9b44b5dec56dee6e77bb2914 (patch) | |
tree | 36ec3c01b35eed6b8d39915d267d241e16482c76 | |
parent | 5d5e8db79051b29b70bc0cc3e44bc0edc5d17917 (diff) | |
download | FreeBSD-src-32ddc95d9022f09a9b44b5dec56dee6e77bb2914.zip FreeBSD-src-32ddc95d9022f09a9b44b5dec56dee6e77bb2914.tar.gz |
Removed unnecessary initialization of hp in gethostbyaddr_r.
-rw-r--r-- | lib/libc/net/gethostnamadr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/net/gethostnamadr.c b/lib/libc/net/gethostnamadr.c index 1912bba..9415a53 100644 --- a/lib/libc/net/gethostnamadr.c +++ b/lib/libc/net/gethostnamadr.c @@ -24,8 +24,8 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char sccsid[] = "@(#)$Id$"; -static char rcsid[] = "$Id$"; +static char sccsid[] = "@(#)$Id: gethostnamadr.c,v 1.12 1997/02/22 15:00:09 peter Exp $"; +static char rcsid[] = "$Id: gethostnamadr.c,v 1.12 1997/02/22 15:00:09 peter Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> @@ -196,7 +196,7 @@ struct hostent_data; int gethostbyaddr_r(const char *addr, int len, int type, struct hostent *result, struct hostent_data *buffer) { - struct hostent *hp = 0; + struct hostent *hp; int ret; if ((hp = gethostbyaddr(addr, len, type)) == NULL) { ret = -1; |