mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-20 15:43:16 +00:00
krpc_call: eliminiate write only variable nam
Sponsored by: Netflix
This commit is contained in:
parent
b64a484592
commit
5c2aad7e89
@ -196,7 +196,7 @@ krpc_call(struct sockaddr_in *sa, u_int prog, u_int vers, u_int func,
|
||||
struct socket *so;
|
||||
struct sockaddr_in *sin, ssin;
|
||||
struct sockaddr *from;
|
||||
struct mbuf *m, *nam, *mhead;
|
||||
struct mbuf *m, *mhead;
|
||||
struct krpc_call *call;
|
||||
struct krpc_reply *reply;
|
||||
struct sockopt sopt;
|
||||
@ -215,7 +215,7 @@ krpc_call(struct sockaddr_in *sa, u_int prog, u_int vers, u_int func,
|
||||
return (EAFNOSUPPORT);
|
||||
|
||||
/* Free at end if not null. */
|
||||
nam = mhead = NULL;
|
||||
mhead = NULL;
|
||||
from = NULL;
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user