mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-04 14:29:39 +00:00
Fix uninitialized variable warning introduced with last commit
(at least reported by MS-VS C compiler)
This commit is contained in:
parent
83abc8714c
commit
09d929f7ff
@ -660,7 +660,7 @@ lwip_accept(int s, struct sockaddr *addr, socklen_t *addrlen)
|
|||||||
{
|
{
|
||||||
struct lwip_sock *sock, *nsock;
|
struct lwip_sock *sock, *nsock;
|
||||||
struct netconn *newconn;
|
struct netconn *newconn;
|
||||||
ip_addr_t naddr;
|
ip_addr_t naddr = {0};
|
||||||
u16_t port = 0;
|
u16_t port = 0;
|
||||||
int newsock;
|
int newsock;
|
||||||
err_t err;
|
err_t err;
|
||||||
|
Loading…
Reference in New Issue
Block a user