tests: socket: getaddrinfo: Explicitly ignore return of sys_mutex_lock

This is a test, and the function is called with K_FOREVER, so it's not
supposed to fail.

Fixes: #25735
CID: 210582

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
This commit is contained in:
Paul Sokolovsky 2020-06-30 12:58:07 +03:00 committed by Anas Nashif
commit 1ca1193a9d

View file

@ -108,7 +108,7 @@ static int process_dns(void)
socklen_t addr_len; socklen_t addr_len;
int ret, idx; int ret, idx;
sys_mutex_lock(&wait_data, K_FOREVER); (void)sys_mutex_lock(&wait_data, K_FOREVER);
NET_DBG("Waiting for IPv4 DNS packets on port %d", NET_DBG("Waiting for IPv4 DNS packets on port %d",
ntohs(addr_v4.sin_port)); ntohs(addr_v4.sin_port));