mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-02-10 21:40:29 +00:00
backport of "unreachable code" warnings from STM (why don't people report such things?)
This commit is contained in:
parent
6c236b047e
commit
eff97c04ef
@ -122,7 +122,6 @@ icmp6_input(struct pbuf *p, struct netif *inp)
|
|||||||
case ICMP6_TYPE_PTB: /* Packet too big */
|
case ICMP6_TYPE_PTB: /* Packet too big */
|
||||||
nd6_input(p, inp);
|
nd6_input(p, inp);
|
||||||
return;
|
return;
|
||||||
break;
|
|
||||||
case ICMP6_TYPE_RS:
|
case ICMP6_TYPE_RS:
|
||||||
#if LWIP_IPV6_FORWARD
|
#if LWIP_IPV6_FORWARD
|
||||||
/* @todo implement router functionality */
|
/* @todo implement router functionality */
|
||||||
@ -134,7 +133,6 @@ icmp6_input(struct pbuf *p, struct netif *inp)
|
|||||||
case ICMP6_TYPE_MLD:
|
case ICMP6_TYPE_MLD:
|
||||||
mld6_input(p, inp);
|
mld6_input(p, inp);
|
||||||
return;
|
return;
|
||||||
break;
|
|
||||||
#endif
|
#endif
|
||||||
case ICMP6_TYPE_EREQ:
|
case ICMP6_TYPE_EREQ:
|
||||||
#if !LWIP_MULTICAST_PING
|
#if !LWIP_MULTICAST_PING
|
||||||
|
@ -835,7 +835,6 @@ netif_found:
|
|||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
goto options_done;
|
goto options_done;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
options_done:
|
options_done:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user