From 32ddc95d9022f09a9b44b5dec56dee6e77bb2914 Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 25 Dec 1997 04:21:08 +0000 Subject: Removed unnecessary initialization of hp in gethostbyaddr_r. --- lib/libc/net/gethostnamadr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libc') 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 @@ -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; -- cgit v1.1