diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-02-01 16:36:46 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-02-01 16:36:46 +0000 |
commit | 1951eff160a68e55ffb30b74b8aa0f0afb0982ea (patch) | |
tree | 3701cdd227941c9ad19d3f5df42b010e9c9c95c4 /epan/dissectors/packet-wai.c | |
parent | c6ff7f75eaa084caed88ccbca1454346335f5be8 (diff) |
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=47425
Diffstat (limited to 'epan/dissectors/packet-wai.c')
-rw-r--r-- | epan/dissectors/packet-wai.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-wai.c b/epan/dissectors/packet-wai.c index 56ed1fd998..23a42374a9 100644 --- a/epan/dissectors/packet-wai.c +++ b/epan/dissectors/packet-wai.c @@ -697,7 +697,7 @@ dissect_wai_data(tvbuff_t *tvb, proto_tree *tree, guint8 subtype, guint16 lenx) offset += dissect_multiple_certificate(tvb, offset, data_tree); } - offset += dissect_signature(tvb, offset, data_tree, "AE Signature"); + dissect_signature(tvb, offset, data_tree, "AE Signature"); break; } case WAI_SUB_CERT_AUTH_REQ: @@ -711,7 +711,7 @@ dissect_wai_data(tvbuff_t *tvb, proto_tree *tree, guint8 subtype, guint16 lenx) offset += dissect_challenge(tvb, offset, data_tree, "ASUE "); offset += dissect_certificate(tvb, offset, data_tree, "STE ASUE "); offset += dissect_certificate(tvb, offset, data_tree, "STE AE "); - offset += dissect_multiple_certificate(tvb, offset, data_tree); + dissect_multiple_certificate(tvb, offset, data_tree); break; } case WAI_SUB_CERT_AUTH_RESP: @@ -723,7 +723,7 @@ dissect_wai_data(tvbuff_t *tvb, proto_tree *tree, guint8 subtype, guint16 lenx) offset += 12; offset += dissect_multiple_certificate(tvb, offset, data_tree); offset += dissect_signature(tvb, offset, data_tree, "Server Signature trusted by ASUE"); - offset += dissect_signature(tvb, offset, data_tree, "Server Signature trusted by AE"); + dissect_signature(tvb, offset, data_tree, "Server Signature trusted by AE"); break; } case WAI_SUB_UNICAST_KEY_REQ: |