aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ansi_a.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-ansi_a.c')
-rw-r--r--epan/dissectors/packet-ansi_a.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/epan/dissectors/packet-ansi_a.c b/epan/dissectors/packet-ansi_a.c
index a8c477a21e..37823d85fb 100644
--- a/epan/dissectors/packet-ansi_a.c
+++ b/epan/dissectors/packet-ansi_a.c
@@ -7510,8 +7510,7 @@ elem_v(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, elem_idx_t idx, guin
"Missing Mandatory element (0x%02x) %s%s, rest of dissection is suspect", \
ansi_a_elem_1_strings[elem_idx].value, \
ansi_a_elem_1_strings[elem_idx].strptr, \
- /* coverity[array_null] */ \
- (elem_name_addition == NULL) ? "" : elem_name_addition \
+ elem_name_addition \
); \
} \
if (curr_len <= 0) return; \
@@ -7541,8 +7540,7 @@ elem_v(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, elem_idx_t idx, guin
"Missing Mandatory element (0x%02x) %s%s, rest of dissection is suspect", \
ansi_a_elem_1_strings[elem_idx].value, \
ansi_a_elem_1_strings[elem_idx].strptr, \
- /* coverity[array_null] */ \
- (elem_name_addition == NULL) ? "" : elem_name_addition \
+ elem_name_addition \
); \
} \
if (curr_len <= 0) return; \