From bd570561e8fcf2eedbe0d9e919215780d1771221 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Sun, 13 May 2007 11:08:04 +0000 Subject: [PATCH] Fix for bug #19740: 2 static functions are unused, simply ifdefing them out for now to get rid of warnings --- src/core/snmp/mib2.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/core/snmp/mib2.c b/src/core/snmp/mib2.c index 17a8ffcb..9c8c40a0 100644 --- a/src/core/snmp/mib2.c +++ b/src/core/snmp/mib2.c @@ -94,9 +94,11 @@ static void icmp_get_value(struct obj_def *od, u16_t len, void *value); #if LWIP_TCP 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); +#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_value(struct obj_def *od, u16_t len, void *value); #endif +#endif 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 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; } } - +#ifdef THIS_SEEMS_UNUSED static void 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 */ } +#endif /* if 0 */ #endif static void