mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 06:12:43 +01:00
pkg/wakamaama: fix compilation with NDEBUG
This commit is contained in:
parent
212f982cc7
commit
b6a2696e81
@ -170,6 +170,8 @@ static void *_lwm2m_client_run(void *arg)
|
||||
|
||||
sock_udp_ep_t local;
|
||||
int res = sock_udp_get_local(&_client_data->sock, &local);
|
||||
/* avoid compilation errors if NDEBUG is enabled */
|
||||
(void)res;
|
||||
assert(res >= 0);
|
||||
DEBUG("Waiting for UDP packet on port: %d\n", local.port);
|
||||
rcv_len = sock_udp_recv(&_client_data->sock, rcv_buf, sizeof(rcv_buf),
|
||||
|
Loading…
Reference in New Issue
Block a user