mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-28 00:15:16 +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 netconn *newconn;
|
||||
ip_addr_t naddr;
|
||||
ip_addr_t naddr = {0};
|
||||
u16_t port = 0;
|
||||
int newsock;
|
||||
err_t err;
|
||||
|
Loading…
Reference in New Issue
Block a user