mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-07 15:04:39 +08: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)
|
do_close(struct api_msg_msg *msg)
|
||||||
{
|
{
|
||||||
err_t err;
|
err_t err;
|
||||||
|
|
||||||
|
err = ERR_OK;
|
||||||
|
|
||||||
if(msg->conn->pcb.tcp != NULL) {
|
if(msg->conn->pcb.tcp != NULL) {
|
||||||
switch(msg->conn->type) {
|
switch(msg->conn->type) {
|
||||||
#if LWIP_UDP
|
#if LWIP_UDP
|
||||||
|
Loading…
x
Reference in New Issue
Block a user