Initialize err in do_close to prevent compiler warning.

This commit is contained in:
kieranm 2002-11-13 21:53:36 +00:00
parent d31ef42acf
commit f975754ad9

View File

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