aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bittorrent.c
diff options
context:
space:
mode:
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;
}