forked from osmocom/wireshark
Stefan Rompf:
Fix warnings of type: proto.c:2219: warning: ISO C forbids conditional expr with only one void side svn path=/trunk/; revision=15156
This commit is contained in:
parent
54861853a8
commit
44cbbf1039
|
@ -98,7 +98,7 @@ typedef struct _protocol protocol_t;
|
|||
* @param expression expression to test in the assertion
|
||||
*/
|
||||
#define DISSECTOR_ASSERT(expression) \
|
||||
((void) ((expression) ? 0 : \
|
||||
((void) ((expression) ? (void)0 : \
|
||||
__DISSECTOR_ASSERT (expression, __FILE__, __LINE__)))
|
||||
|
||||
/** Same as DISSECTOR_ASSERT(), but will throw DissectorError exception
|
||||
|
|
Loading…
Reference in New Issue