aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2012-03-02 10:58:29 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2012-03-02 10:58:29 +0000
commit8cc44ff4f0dfdf2150a03bfca38b7cefc1746d9b (patch)
tree34dcc23f9dacce6fda5e1ed878fcc1f4b65632f2 /asn1
parentc1ff84a63293264147e1549503c2d1b4cc0b2226 (diff)
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41297
Diffstat (limited to 'asn1')
-rw-r--r--asn1/p1/packet-p1-template.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/asn1/p1/packet-p1-template.c b/asn1/p1/packet-p1-template.c
index c6e8611a08..6328e42d77 100644
--- a/asn1/p1/packet-p1-template.c
+++ b/asn1/p1/packet-p1-template.c
@@ -223,7 +223,6 @@ dissect_p1(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
offset=(*p1_dissector)(FALSE, tvb, offset, &asn1_ctx , tree, hf_p1_index);
if(offset == old_offset){
proto_tree_add_text(tree, tvb, offset, -1,"Internal error, zero-byte P1 PDU");
- offset = tvb_length(tvb);
break;
}
}