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:
Martin Kaiser 2014-07-16 15:05:57 +02:00
parent 65873a921f
commit 18dfb13c12
1 changed files with 2 additions and 3 deletions

View File

@ -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) \