Do not use msg_flags if DDSRT_MSGHDR_FLAGS not set
Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
parent
20b91796b1
commit
5a83d422ea
1 changed files with 0 additions and 1 deletions
|
@ -147,7 +147,6 @@ static ssize_t ddsi_udp_conn_write (ddsi_tran_conn_t conn, const nn_locator_t *d
|
||||||
#if DDSRT_MSGHDR_FLAGS
|
#if DDSRT_MSGHDR_FLAGS
|
||||||
msg.msg_flags = (int) flags;
|
msg.msg_flags = (int) flags;
|
||||||
#else
|
#else
|
||||||
msg.msg_flags = 0;
|
|
||||||
DDSRT_UNUSED_ARG(flags);
|
DDSRT_UNUSED_ARG(flags);
|
||||||
#endif
|
#endif
|
||||||
#if MSG_NOSIGNAL && !LWIP_SOCKET
|
#if MSG_NOSIGNAL && !LWIP_SOCKET
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue