diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-06-29 22:00:31 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-06-29 22:00:31 +0000 |
commit | 5da25f80b40d00bec73bbf480666c67cc60bd934 (patch) | |
tree | 295bc719a353785c8b11693e5a072a1825734d28 /epan/dissectors/packet-collectd.c | |
parent | 66801775414697ea0450efcca7a46081625a4ecc (diff) |
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=50242
Diffstat (limited to 'epan/dissectors/packet-collectd.c')
-rw-r--r-- | epan/dissectors/packet-collectd.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/epan/dissectors/packet-collectd.c b/epan/dissectors/packet-collectd.c index 5d90bd304c..6ccd84c936 100644 --- a/epan/dissectors/packet-collectd.c +++ b/epan/dissectors/packet-collectd.c @@ -1000,7 +1000,6 @@ dissect_collectd (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (size < 4) { pkt_errors++; - status = -1; break; } @@ -1011,7 +1010,6 @@ dissect_collectd (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if ((part_length < 4) || (part_length > size)) { pkt_errors++; - status = -1; break; } @@ -1085,7 +1083,6 @@ dissect_collectd (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) PI_ERROR, "Garbage at end of packet"); pkt_errors++; - status = -1; break; } @@ -1121,7 +1118,6 @@ dissect_collectd (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) "Bad part length: Larger than remaining packet size."); pkt_errors++; - status = -1; break; } |