Remove redundant comparison.
authormartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 22 Mar 2011 18:06:58 +0000 (18:06 +0000)
committermartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 22 Mar 2011 18:06:58 +0000 (18:06 +0000)
Coverity CID 361.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36256 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-q931.c

index 00f7ba407f6a4dd860c251094d499c4a2848aa52..850a968634f9c6d830ae63f3282047994029ce0d 100644 (file)
@@ -914,8 +914,6 @@ dissect_q931_bearer_capability_ie(tvbuff_t *tvb, int offset, int len,
 
                if (octet & Q931_IE_VL_EXTENSION)
                        goto l1_done;
-               if (len == 0)
-                       return;
                octet = tvb_get_guint8(tvb, offset);
                proto_tree_add_text(tree, tvb, offset, 1,
                    "%s duplex",