From 80fcd66434871d1da8a21075c98114390dfe0949 Mon Sep 17 00:00:00 2001 From: cmaynard Date: Fri, 13 May 2011 17:05:05 +0000 Subject: Eliminate deadcode. Fixes Coverity CID 415. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37127 f5534014-38df-0310-8fa8-9805f1628bb7 --- epan/dissectors/packet-stun.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'epan') 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'. -- cgit v1.2.3