Fix uninitialized variable warning introduced with last commit

(at least reported by MS-VS C compiler)
This commit is contained in:
Simon Goldschmidt 2024-01-09 20:51:10 +01:00
parent 83abc8714c
commit 09d929f7ff

View File

@ -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;