Remove two clang warnings.
MFC after: 1 month.
This commit is contained in:
parent
107fdf9681
commit
310a027788
@ -6357,7 +6357,7 @@ sctp_ingetaddr(struct socket *so, struct sockaddr **addr)
|
||||
int
|
||||
sctp_peeraddr(struct socket *so, struct sockaddr **addr)
|
||||
{
|
||||
struct sockaddr_in *sin = (struct sockaddr_in *)*addr;
|
||||
struct sockaddr_in *sin;
|
||||
int fnd;
|
||||
struct sockaddr_in *sin_a;
|
||||
struct sctp_inpcb *inp;
|
||||
|
@ -1199,7 +1199,7 @@ sctp6_getaddr(struct socket *so, struct sockaddr **addr)
|
||||
static int
|
||||
sctp6_peeraddr(struct socket *so, struct sockaddr **addr)
|
||||
{
|
||||
struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)*addr;
|
||||
struct sockaddr_in6 *sin6;
|
||||
int fnd;
|
||||
struct sockaddr_in6 *sin_a6;
|
||||
struct sctp_inpcb *inp;
|
||||
|
Loading…
Reference in New Issue
Block a user