mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/net/uhcp: remove unused returned value in uhcp_client
This commit is contained in:
parent
d4adcfd92d
commit
a9399810d5
@ -38,6 +38,10 @@ void uhcp_client(uhcp_iface_t iface)
|
|||||||
|
|
||||||
/* create listening socket */
|
/* create listening socket */
|
||||||
int res = sock_udp_create(&sock, &local, NULL, 0);
|
int res = sock_udp_create(&sock, &local, NULL, 0);
|
||||||
|
if (res < 0) {
|
||||||
|
puts("uhcp_client(): cannot create listening socket");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
uint8_t buf[sizeof(uhcp_push_t) + 16];
|
uint8_t buf[sizeof(uhcp_push_t) + 16];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user