diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2013-03-01 04:53:26 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2013-03-01 04:53:26 +0000 |
commit | 069c1d3fa877a441f6c49c833fb9c7ba377c5816 (patch) | |
tree | 0cced229bd37c222c007b66a7edfe2f5ca378bc4 /epan/dissectors/packet-trmac.c | |
parent | ade06ecf1c5b16e355f1e04831c5bc18505ecd83 (diff) |
Fix Coverity CID 988967: Logically dead code.
svn path=/trunk/; revision=47963
Diffstat (limited to 'epan/dissectors/packet-trmac.c')
-rw-r--r-- | epan/dissectors/packet-trmac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-trmac.c b/epan/dissectors/packet-trmac.c index f660392cbf..495c3badb8 100644 --- a/epan/dissectors/packet-trmac.c +++ b/epan/dissectors/packet-trmac.c @@ -396,7 +396,7 @@ sv_text(tvbuff_t *tvb, int svoff, packet_info *pinfo, proto_tree *tree) "Subvector length is != 6 and != 8"); break; } - if (sv_length == 4) { + if (sv_length == 6) { proto_tree_add_text(sv_tree, tvb, svoff+2, sv_length-2, "Group Address: %08X", tvb_get_ntohl(tvb, svoff+2) ); proto_item_append_text(sv_item, |