diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2017-12-22 21:49:05 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-12-22 21:59:10 +0000 |
commit | 56cca5bd58a308d65e8d2a759bb02b040f5afc7e (patch) | |
tree | 4f7689285b4d92c0688d0ae3f802b34dcca2c737 /epan/dissectors/packet-coap.c | |
parent | e6a350552a5f8e38ddf11583fb97ab9c303f2b9a (diff) |
coap: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: Ib23241887ef91ef44a31703445a0ce6d31104b8e
Reviewed-on: https://code.wireshark.org/review/24951
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-coap.c')
-rw-r--r-- | epan/dissectors/packet-coap.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/dissectors/packet-coap.c b/epan/dissectors/packet-coap.c index 088cc8083e..d41781d88f 100644 --- a/epan/dissectors/packet-coap.c +++ b/epan/dissectors/packet-coap.c @@ -585,7 +585,6 @@ dissect_coap_opt_object_security(tvbuff_t *tvb, proto_item *head_item, proto_tre proto_tree_add_item(subtree, hf_coap_opt_object_security_kid, tvb, offset, kid_len, ENC_NA); kid = tvb_bytes_to_str_punct(wmem_packet_scope(), tvb, offset, kid_len, ' '); - offset += kid_len; } else { expert_add_info_format(pinfo, subtree, &ei_coap_option_object_security_bad, "Key ID flag is set but there are no remaining bytes to be processed"); kid = nullstr; |