Commit da15cf44 authored by Youness Alaoui's avatar Youness Alaoui

avoid warning by using fd argument when MSG_ERRQUEUE is undefined

parent 27128730
......@@ -164,6 +164,7 @@ static int recv_err (int fd)
memset (&hdr, 0, sizeof (hdr));
return recvmsg (fd, &hdr, MSG_ERRQUEUE) >= 0;
#else
(void) fd;
return 0;
#endif
}
......
......@@ -324,6 +324,7 @@ static int stun_err_dequeue (int fd)
errno = saved_errno;
return ret;
#else
(void) fd;
return 0;
#endif
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment