diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2012-03-21 03:22:24 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2012-03-21 03:22:24 +0000 |
commit | e64474fba4d970a12a5dad6045c2612a2b6d8791 (patch) | |
tree | b7d5e8791156b51fe0ebd54a110c8d4ff5542e72 | |
parent | 6c1875f2ea58312f180664f4b353faafc7cf7c90 (diff) | |
download | wireshark-e64474fba4d970a12a5dad6045c2612a2b6d8791.tar.gz |
Fix Coverity CID 1449: DEADCODE.
svn path=/trunk/; revision=41705
-rw-r--r-- | epan/dissectors/packet-mpls-y1711.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/epan/dissectors/packet-mpls-y1711.c b/epan/dissectors/packet-mpls-y1711.c index 112e247526..ebbff9fd68 100644 --- a/epan/dissectors/packet-mpls-y1711.c +++ b/epan/dissectors/packet-mpls-y1711.c @@ -132,9 +132,6 @@ dissect_mpls_y1711(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) } /* sanity checks */ - if (!tree) - return 0; - if (!tvb_bytes_exist(tvb, offset, 44)) { /* * ITU-T Y.1711, 5.3: PDUs must have a minimum payload length of |