mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-05 22:29:49 +00:00
Fix for bug #19740: 2 static functions are unused, simply ifdefing them out for now to get rid of warnings
This commit is contained in:
parent
19d49db305
commit
bd570561e8
@ -94,9 +94,11 @@ static void icmp_get_value(struct obj_def *od, u16_t len, void *value);
|
|||||||
#if LWIP_TCP
|
#if LWIP_TCP
|
||||||
static void tcp_get_object_def(u8_t ident_len, s32_t *ident, struct obj_def *od);
|
static void tcp_get_object_def(u8_t ident_len, s32_t *ident, struct obj_def *od);
|
||||||
static void tcp_get_value(struct obj_def *od, u16_t len, void *value);
|
static void tcp_get_value(struct obj_def *od, u16_t len, void *value);
|
||||||
|
#ifdef THIS_SEEMS_UNUSED
|
||||||
static void tcpconnentry_get_object_def(u8_t ident_len, s32_t *ident, struct obj_def *od);
|
static void tcpconnentry_get_object_def(u8_t ident_len, s32_t *ident, struct obj_def *od);
|
||||||
static void tcpconnentry_get_value(struct obj_def *od, u16_t len, void *value);
|
static void tcpconnentry_get_value(struct obj_def *od, u16_t len, void *value);
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
static void udp_get_object_def(u8_t ident_len, s32_t *ident, struct obj_def *od);
|
static void udp_get_object_def(u8_t ident_len, s32_t *ident, struct obj_def *od);
|
||||||
static void udp_get_value(struct obj_def *od, u16_t len, void *value);
|
static void udp_get_value(struct obj_def *od, u16_t len, void *value);
|
||||||
static void udpentry_get_object_def(u8_t ident_len, s32_t *ident, struct obj_def *od);
|
static void udpentry_get_object_def(u8_t ident_len, s32_t *ident, struct obj_def *od);
|
||||||
@ -3597,7 +3599,7 @@ tcp_get_value(struct obj_def *od, u16_t len, void *value)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#ifdef THIS_SEEMS_UNUSED
|
||||||
static void
|
static void
|
||||||
tcpconnentry_get_object_def(u8_t ident_len, s32_t *ident, struct obj_def *od)
|
tcpconnentry_get_object_def(u8_t ident_len, s32_t *ident, struct obj_def *od)
|
||||||
{
|
{
|
||||||
@ -3667,6 +3669,7 @@ tcpconnentry_get_value(struct obj_def *od, u16_t len, void *value)
|
|||||||
|
|
||||||
/** @todo find matching PCB */
|
/** @todo find matching PCB */
|
||||||
}
|
}
|
||||||
|
#endif /* if 0 */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user