aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/mms
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2012-01-13 16:21:08 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2012-01-13 16:21:08 +0000
commit9308fab8e7ff677e7602a4254e648c478f8cf2a2 (patch)
treeffb48eb63d8d9ab04eb57fbaa0c5128a2a74c6e3 /asn1/mms
parent7dc1bd38a11aa760e4be1a24db08a72ad6ca057d (diff)
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=40461
Diffstat (limited to 'asn1/mms')
-rw-r--r--asn1/mms/packet-mms-template.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/asn1/mms/packet-mms-template.c b/asn1/mms/packet-mms-template.c
index 054fe4ac20..f8d96fd7f0 100644
--- a/asn1/mms/packet-mms-template.c
+++ b/asn1/mms/packet-mms-template.c
@@ -78,7 +78,6 @@ dissect_mms(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
offset=dissect_mms_MMSpdu(FALSE, tvb, offset, &asn1_ctx , tree, -1);
if(offset == old_offset){
proto_tree_add_text(tree, tvb, offset, -1,"Internal error, zero-byte MMS PDU");
- offset = tvb_length(tvb);
break;
}
}