mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-08-23 22:56:00 +00:00
Add "fall through" statement to Axel's patch
This commit is contained in:
parent
6f28a874b8
commit
9130d37df7
|
@ -225,7 +225,7 @@ pbuf_alloc(pbuf_layer layer, u16_t length, pbuf_type type)
|
||||||
LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_alloc(length=%"U16_F")\n", length));
|
LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_alloc(length=%"U16_F")\n", length));
|
||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case PBUF_REF:
|
case PBUF_REF: /* fall through */
|
||||||
case PBUF_ROM:
|
case PBUF_ROM:
|
||||||
return pbuf_alloc_reference(NULL, length, type);
|
return pbuf_alloc_reference(NULL, length, type);
|
||||||
case PBUF_POOL:
|
case PBUF_POOL:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user