aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-disp.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2012-01-13 16:30:39 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2012-01-13 16:30:39 +0000
commit0dde64beaeaea3f185c091f85bdc18086f006fdd (patch)
treec610719569c9c2489e5cabf142af19e92548f456 /epan/dissectors/packet-disp.c
parentcf8e19f4352bd922341a636e8e1b399f77a91b55 (diff)
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=40467
Diffstat (limited to 'epan/dissectors/packet-disp.c')
-rw-r--r--epan/dissectors/packet-disp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/dissectors/packet-disp.c b/epan/dissectors/packet-disp.c
index adc0915221..d33f37ff0e 100644
--- a/epan/dissectors/packet-disp.c
+++ b/epan/dissectors/packet-disp.c
@@ -1612,7 +1612,6 @@ dissect_disp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
offset=(*disp_dissector)(FALSE, tvb, offset, &asn1_ctx, tree, -1);
if(offset == old_offset){
proto_tree_add_text(tree, tvb, offset, -1,"Internal error, zero-byte DISP PDU");
- offset = tvb_length(tvb);
break;
}
}