aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2012-01-13 16:28:54 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2012-01-13 16:28:54 +0000
commitcf8e19f4352bd922341a636e8e1b399f77a91b55 (patch)
treec1fc301e3203db9d0c9506b89a976eb699de48dc /epan
parenta3dbee44b3b444039db1170ef2620d47c3ee7488 (diff)
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=40466
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-sv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/dissectors/packet-sv.c b/epan/dissectors/packet-sv.c
index e4ce5a3fcb..30b6f3f080 100644
--- a/epan/dissectors/packet-sv.c
+++ b/epan/dissectors/packet-sv.c
@@ -406,7 +406,6 @@ dissect_sv(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
offset = dissect_sv_SampledValues(FALSE, tvb, offset, &asn1_ctx , tree, -1);
if (offset == old_offset) {
proto_tree_add_text(tree, tvb, offset, -1, "Internal error, zero-byte SV PDU");
- offset = tvb_length(tvb);
break;
}
}