forked from Imagelibrary/lwip
Initialize err in do_close to prevent compiler warning.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user