forked from osmocom/wireshark
remove the NULL check in APPEND_BOOLEAN_FLAG
Change-Id: I15742ce73d3445ec47369d35dd0da6715b7079cf Reviewed-on: https://code.wireshark.org/review/3126 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
This commit is contained in:
parent
65873a921f
commit
18dfb13c12
|
@ -959,9 +959,8 @@ static const char cont_sep[] = ", ";
|
|||
|
||||
#define APPEND_BOOLEAN_FLAG(flag, item, string) \
|
||||
if(flag){ \
|
||||
if(item) \
|
||||
proto_item_append_text(item, string, sep); \
|
||||
sep = cont_sep; \
|
||||
proto_item_append_text(item, string, sep); \
|
||||
sep = cont_sep; \
|
||||
}
|
||||
|
||||
#define APPEND_OUI_NAME(item, string, tvb, offset) \
|
||||
|
|
Loading…
Reference in New Issue