From 356b686774968d312476b66d0c1fb1f21c46305a Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Mon, 12 Feb 2001 00:59:18 +0000 Subject: Clean up lots of warnings. --- libc/inet/rpc/pmap_prot2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libc/inet/rpc/pmap_prot2.c') diff --git a/libc/inet/rpc/pmap_prot2.c b/libc/inet/rpc/pmap_prot2.c index bdd3ec0e3..028e85d76 100644 --- a/libc/inet/rpc/pmap_prot2.c +++ b/libc/inet/rpc/pmap_prot2.c @@ -92,6 +92,7 @@ register struct pmaplist **rp; bool_t more_elements; register int freeing = (xdrs->x_op == XDR_FREE); register struct pmaplist **next; +#warning expect "next" might be unitialized while (TRUE) { more_elements = (bool_t) (*rp != NULL); @@ -107,7 +108,7 @@ register struct pmaplist **rp; if (freeing) next = &((*rp)->pml_next); if (!xdr_reference(xdrs, (caddr_t *) rp, - (u_int) sizeof(struct pmaplist), xdr_pmap)) + (u_int) sizeof(struct pmaplist), (xdrproc_t) xdr_pmap)) return (FALSE); rp = (freeing) ? next : &((*rp)->pml_next); -- cgit v1.2.3