1
0
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:
Gunar Schorcht 2021-12-10 10:55:42 +01:00
parent 212f982cc7
commit b6a2696e81

View File

@ -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),