diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2008-07-11 18:56:03 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2008-07-11 18:56:03 +0000 |
commit | 19e29f228f253b97a5888f8fea8da2034357d933 (patch) | |
tree | 3e1a6373cfbf9393642ff6379416d3a19e235e7b /epan/dissectors | |
parent | ccd5751c19ad290ec4cf22b9c8e1f49c599a77ae (diff) |
Remove some dead (statement not reached) code (while trying to avoid any false control reaches end of non-void function warnings)
svn path=/trunk/; revision=25706
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-bittorrent.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/epan/dissectors/packet-bittorrent.c b/epan/dissectors/packet-bittorrent.c index ec73e179e4..95c574148c 100644 --- a/epan/dissectors/packet-bittorrent.c +++ b/epan/dissectors/packet-bittorrent.c @@ -488,12 +488,8 @@ static int dissect_bencoding_rec(tvbuff_t *tvb, packet_info *pinfo _U_, if (tree) { proto_tree_add_text(tree, tvb, offset, -1, "Decode Aborted: Invalid Bencoding"); } - return -1; } - if (tree) { - proto_tree_add_text(tree, tvb, offset, -1, "Decode Aborted: Internal Error"); - } return -1; } |