appease gcc -Wuninitialized
This commit is contained in:
parent
63246b1ef4
commit
3af3e6a479
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rpc_generic.c,v 1.18 2005/02/09 21:35:47 kleink Exp $ */
|
||||
/* $NetBSD: rpc_generic.c,v 1.19 2005/06/01 05:41:48 lukem Exp $ */
|
||||
|
||||
/*
|
||||
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
|
||||
|
@ -41,7 +41,7 @@
|
|||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: rpc_generic.c,v 1.18 2005/02/09 21:35:47 kleink Exp $");
|
||||
__RCSID("$NetBSD: rpc_generic.c,v 1.19 2005/06/01 05:41:48 lukem Exp $");
|
||||
#endif
|
||||
|
||||
#include "namespace.h"
|
||||
|
@ -700,6 +700,7 @@ __rpc_uaddr2taddr_af(int af, const char *uaddr)
|
|||
* AF_LOCAL addresses are expected to be absolute
|
||||
* pathnames, anything else will be AF_INET or AF_INET6.
|
||||
*/
|
||||
port = 0;
|
||||
if (*addrstr != '/') {
|
||||
p = strrchr(addrstr, '.');
|
||||
if (p == NULL)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rpcb_clnt.c,v 1.15 2003/10/21 00:07:17 fvdl Exp $ */
|
||||
/* $NetBSD: rpcb_clnt.c,v 1.16 2005/06/01 05:43:43 lukem Exp $ */
|
||||
|
||||
/*
|
||||
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
|
||||
|
@ -39,7 +39,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)rpcb_clnt.c 1.30 89/06/21 Copyr 1988 Sun Micro";
|
||||
#else
|
||||
__RCSID("$NetBSD: rpcb_clnt.c,v 1.15 2003/10/21 00:07:17 fvdl Exp $");
|
||||
__RCSID("$NetBSD: rpcb_clnt.c,v 1.16 2005/06/01 05:43:43 lukem Exp $");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -326,6 +326,7 @@ getclnthandle(host, nconf, targaddr)
|
|||
/* VARIABLES PROTECTED BY rpcbaddr_cache_lock: ad_cache */
|
||||
|
||||
/* Get the address of the rpcbind. Check cache first */
|
||||
client = NULL;
|
||||
addr_to_delete.len = 0;
|
||||
rwlock_rdlock(&rpcbaddr_cache_lock);
|
||||
ad_cache = check_cache(host, nconf->nc_netid);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rpcb_prot.c,v 1.5 2003/09/09 03:56:40 itojun Exp $ */
|
||||
/* $NetBSD: rpcb_prot.c,v 1.6 2005/06/01 05:46:35 lukem Exp $ */
|
||||
|
||||
/*
|
||||
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
|
||||
|
@ -39,7 +39,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)rpcb_prot.c 1.9 89/04/21 Copyr 1984 Sun Micro";
|
||||
#else
|
||||
__RCSID("$NetBSD: rpcb_prot.c,v 1.5 2003/09/09 03:56:40 itojun Exp $");
|
||||
__RCSID("$NetBSD: rpcb_prot.c,v 1.6 2005/06/01 05:46:35 lukem Exp $");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -139,6 +139,7 @@ xdr_rpcblist_ptr(xdrs, rp)
|
|||
/* XXX: rp may be NULL ??? */
|
||||
|
||||
freeing = (xdrs->x_op == XDR_FREE);
|
||||
next = NULL;
|
||||
|
||||
for (;;) {
|
||||
more_elements = (bool_t)(*rp != NULL);
|
||||
|
@ -235,6 +236,7 @@ xdr_rpcb_entry_list_ptr(xdrs, rp)
|
|||
/* XXX: rp is allowed to be NULL ??? */
|
||||
|
||||
freeing = (xdrs->x_op == XDR_FREE);
|
||||
next = NULL;
|
||||
|
||||
for (;;) {
|
||||
more_elements = (bool_t)(*rp != NULL);
|
||||
|
|
Loading…
Reference in New Issue