diff options
author | cmaynard <cmaynard@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-05-13 17:05:05 +0000 |
---|---|---|
committer | cmaynard <cmaynard@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-05-13 17:05:05 +0000 |
commit | 80fcd66434871d1da8a21075c98114390dfe0949 (patch) | |
tree | c2849cf1e1bcb0736697c4852c1ab101d711c7f2 /epan/dissectors/packet-stun.c | |
parent | ec47072743d125912727de45671c1f34f4aebc47 (diff) |
Eliminate deadcode. Fixes Coverity CID 415.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37127 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-stun.c')
-rw-r--r-- | epan/dissectors/packet-stun.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-stun.c b/epan/dissectors/packet-stun.c index f41b6a38f6..20f7f63d26 100644 --- a/epan/dissectors/packet-stun.c +++ b/epan/dissectors/packet-stun.c @@ -841,8 +841,6 @@ dissect_stun_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) break; switch (tvb_get_guint8(tvb, offset+1)) { case 1: - if (att_length < 8) - break; proto_tree_add_item(att_tree, stun_att_xor_ipv4, tvb, offset+4, 4, FALSE); /* Show the address 'in the clear'. |