aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-icmpv6.c
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2013-12-02 00:45:44 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2013-12-02 00:45:44 +0000
commit87d36305f9404fdee6e7daff0989d2e9ae282bea (patch)
tree3475d0418f2390de42c10e696cf7fe6469dc0b32 /epan/dissectors/packet-icmpv6.c
parent70f4223c2ae42f5695e6aa5ec5880cd38bfed30f (diff)
Fix Coverity CID 1134046: Structurally dead code.
svn path=/trunk/; revision=53704
Diffstat (limited to 'epan/dissectors/packet-icmpv6.c')
-rw-r--r--epan/dissectors/packet-icmpv6.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-icmpv6.c b/epan/dissectors/packet-icmpv6.c
index f942c51695..15d6665a73 100644
--- a/epan/dissectors/packet-icmpv6.c
+++ b/epan/dissectors/packet-icmpv6.c
@@ -1183,7 +1183,7 @@ static icmp_transaction_t *transaction_start(packet_info *pinfo, proto_tree *tre
icmpv6_trans = (icmp_transaction_t *)wmem_tree_lookup32_array(icmpv6_info->matched_pdus, icmpv6_key);
}
- if (icmpv6_trans == NULL)
+ if (icmpv6_trans == NULL) {
if (PINFO_FD_VISITED(pinfo)) {
/* No response found - add field and expert info */
it = proto_tree_add_item(tree, hf_icmpv6_no_resp, NULL, 0, 0,
@@ -1200,6 +1200,7 @@ static icmp_transaction_t *transaction_start(packet_info *pinfo, proto_tree *tre
}
return NULL;
+ }
/* Print state tracking in the tree */
if (icmpv6_trans->resp_frame) {