mirror of https://github.com/ARMmbed/mbed-os.git
rtl8195am - fix dhcps.c warnings
Fix the following errors: [Warning] dhcps.c@158,1: label 'Exit' defined but not used [-Wunused-label] [Warning] dhcps.c@161,13: 'dump_client_table' defined but not used [-Wunused-function] Signed-off-by: Tony Wu <tonywu@realtek.com>pull/6651/head
parent
7ac365c258
commit
71859debd6
|
@ -155,9 +155,10 @@ static uint8_t check_client_request_ip(ip_addr_t *client_req_ip, uint8_t *hwaddr
|
||||||
if(i == DHCP_POOL_END+1)
|
if(i == DHCP_POOL_END+1)
|
||||||
ip_addr4 = 0;
|
ip_addr4 = 0;
|
||||||
|
|
||||||
Exit:
|
|
||||||
return ip_addr4;
|
return ip_addr4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if debug_dhcps
|
||||||
static void dump_client_table()
|
static void dump_client_table()
|
||||||
{
|
{
|
||||||
#if 0
|
#if 0
|
||||||
|
@ -175,6 +176,7 @@ static void dump_client_table()
|
||||||
printf("\r\n");
|
printf("\r\n");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
#endif //CONFIG_DHCPS_KEPT_CLIENT_INFO
|
#endif //CONFIG_DHCPS_KEPT_CLIENT_INFO
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue