mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Remove two clang warnings.
MFC after: 1 month.
This commit is contained in:
parent
107fdf9681
commit
310a027788
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=231895
@ -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