summaryrefslogtreecommitdiff
path: root/epan
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2014-07-16 15:05:57 +0200
committerMartin Kaiser <wireshark@kaiser.cx>2014-07-19 14:22:08 +0000
commit18dfb13c1240fc98a5e47dea6360ea18f8f50f04 (patch)
tree52570f77ee8a8ef8006cc5d02ff21cb663569573 /epan
parent65873a921fa49eaf093acf5b7fef6bd94bc5ff02 (diff)
downloadwireshark-18dfb13c1240fc98a5e47dea6360ea18f8f50f04.tar.gz
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>
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-oampdu.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/epan/dissectors/packet-oampdu.c b/epan/dissectors/packet-oampdu.c
index 6bce442cd2..07998e9ba0 100644
--- a/epan/dissectors/packet-oampdu.c
+++ b/epan/dissectors/packet-oampdu.c
@@ -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) \