Skip to content

Commit

Permalink
Fix uninitialized variable warning introduced with last commit
Browse files Browse the repository at this point in the history
(at least reported by MS-VS C compiler)
  • Loading branch information
goldsimon committed Jan 9, 2024
1 parent 83abc87 commit 09d929f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/sockets.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 09d929f

Please sign in to comment.