aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bittorrent.c
diff options
context:
space:
mode:
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>2008-07-11 18:56:03 +0000
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>2008-07-11 18:56:03 +0000
commit49b04097d9d9a1e7f32c4f4c7d624b86f941900e (patch)
tree3e1a6373cfbf9393642ff6379416d3a19e235e7b /epan/dissectors/packet-bittorrent.c
parent06749808950c9f386d3484722b047dc329464481 (diff)
Remove some dead (statement not reached) code (while trying to avoid any false control reaches end of non-void function warnings)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25706 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-bittorrent.c')
-rw-r--r--epan/dissectors/packet-bittorrent.c4
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;
}