Commit daeed086 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

Silenced sprious warnings by MSG_HEADER_INIT() in msg_header.h.

darcs-hash:20060504093143-65a35-75203c52e870032875f503d711d12ccca4049b34.gz
parent db1af738
......@@ -272,8 +272,10 @@ enum {
};
/** Initialize a header structure. @HIDE */
#define MSG_HEADER_INIT(h, msg_class, size) \
(memset((h), 0, (size)), ((msg_common_t *)(h))->h_class = (msg_class), (h))
#define MSG_HEADER_INIT(h, msg_class, size) \
((void)memset((h), 0, (size)), \
(void)(((msg_common_t *)(h))->h_class = (msg_class)), \
(h))
/** No header. */
#define MSG_HEADER_NONE ((msg_header_t *)-1)
......
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