mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 18:14:53 +00:00
Initialize err in do_close to prevent compiler warning.
This commit is contained in:
parent
d31ef42acf
commit
f975754ad9
@ -494,6 +494,9 @@ static void
|
||||
do_close(struct api_msg_msg *msg)
|
||||
{
|
||||
err_t err;
|
||||
|
||||
err = ERR_OK;
|
||||
|
||||
if(msg->conn->pcb.tcp != NULL) {
|
||||
switch(msg->conn->type) {
|
||||
#if LWIP_UDP
|
||||
|
Loading…
Reference in New Issue
Block a user