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

SIP_HEADER_INIT(): removed gcc warning about comma expression.

parent 4258f185
......@@ -68,7 +68,9 @@ SOFIAPUBFUN msg_mclass_t *sip_default_mclass(void);
/** Initialize a SIP header structure. @HIDE */
#define SIP_HEADER_INIT(h, sip_class, size) \
(memset((h), 0, (size)), ((sip_common_t *)(h))->h_class = (sip_class), (h))
((void)memset((h), 0, (size)), \
(void)(((sip_common_t *)(h))->h_class = (sip_class)), \
/** Serialize headers into the fragment chain. */
SOFIAPUBFUN int sip_serialize(msg_t *msg, sip_t *sip);
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