summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/rpcb_prot.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/rpc/rpcb_prot.c')
-rw-r--r--lib/libc/rpc/rpcb_prot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/rpc/rpcb_prot.c b/lib/libc/rpc/rpcb_prot.c
index aa46510..20ee091 100644
--- a/lib/libc/rpc/rpcb_prot.c
+++ b/lib/libc/rpc/rpcb_prot.c
@@ -116,6 +116,7 @@ xdr_rpcblist_ptr(xdrs, rp)
rpcblist_ptr next;
rpcblist_ptr next_copy;
+ next = NULL;
for (;;) {
more_elements = (bool_t)(*rp != NULL);
if (! xdr_bool(xdrs, &more_elements)) {
@@ -204,6 +205,7 @@ xdr_rpcb_entry_list_ptr(xdrs, rp)
rpcb_entry_list_ptr next;
rpcb_entry_list_ptr next_copy;
+ next = NULL;
for (;;) {
more_elements = (bool_t)(*rp != NULL);
if (! xdr_bool(xdrs, &more_elements)) {
OpenPOWER on IntegriCloud