aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-wai.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2013-02-22 16:50:58 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2013-02-22 16:50:58 +0000
commit1f323f1f4c5c55e247c31aaa2ed34fa0c67369a9 (patch)
tree487595d477c539f9f8ee232f32c8128aef778095 /epan/dissectors/packet-wai.c
parent0157943ca13aa9be13c0ced01235059f6bb5de1c (diff)
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=47820
Diffstat (limited to 'epan/dissectors/packet-wai.c')
-rw-r--r--epan/dissectors/packet-wai.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-wai.c b/epan/dissectors/packet-wai.c
index 23a42374a9..642652d41a 100644
--- a/epan/dissectors/packet-wai.c
+++ b/epan/dissectors/packet-wai.c
@@ -465,7 +465,7 @@ dissect_multiple_certificate(tvbuff_t * tvb, guint offset, proto_tree *tree)
offset += dissect_certificate(tvb, offset, multicert_tree, "1 ");
proto_tree_add_item(multicert_tree, hf_wai_ver_res, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
- offset += dissect_certificate(tvb, offset, multicert_tree, "2 ");
+ dissect_certificate(tvb, offset, multicert_tree, "2 ");
return length + 3;
}
@@ -593,7 +593,7 @@ dissect_signature(tvbuff_t *tvb, guint offset, proto_tree *tree, const gchar *co
offset += dissect_identity(tvb, offset, ss_tree, NULL);
offset += dissect_signature_algorithm(tvb, offset, ss_tree);
- offset += dissect_signature_value(tvb, offset, ss_tree);
+ dissect_signature_value(tvb, offset, ss_tree);
return length + 3;
}