aboutsummaryrefslogtreecommitdiff
path: root/resolv
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-08-03 03:40:54 +0000
committerUlrich Drepper <drepper@redhat.com>2002-08-03 03:40:54 +0000
commit3db04c6ff75614f146c5b5152313dd17a7419468 (patch)
treecc06619dcbbe317430510a492742d43d769589af /resolv
parent656f8223ec43c775f319f1b26c1e8bd619ca11a9 (diff)
downloadglibc-3db04c6ff75614f146c5b5152313dd17a7419468.zip
glibc-3db04c6ff75614f146c5b5152313dd17a7419468.tar.gz
glibc-3db04c6ff75614f146c5b5152313dd17a7419468.tar.bz2
(gethostbyaddr): Shut up the compiler.
Diffstat (limited to 'resolv')
-rw-r--r--resolv/gethnamaddr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/gethnamaddr.c b/resolv/gethnamaddr.c
index 14758df..ed87155 100644
--- a/resolv/gethnamaddr.c
+++ b/resolv/gethnamaddr.c
@@ -636,7 +636,7 @@ gethostbyaddr(addr, len, af)
int n, size;
querybuf buf;
register struct hostent *hp;
- char qbuf[MAXDNAME+1], *qp;
+ char qbuf[MAXDNAME+1], *qp = NULL;
#ifdef SUNSECURITY
register struct hostent *rhp;
char **haddr;