diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2019-12-11 11:08:58 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2019-12-12 04:39:20 +0000 |
commit | 4c303099aafd15d762b4a544c78c0fff97770ed2 (patch) | |
tree | 9060eb497ac145f9a3c10a1a075c4f317e0ebd76 | |
parent | 2e1c65101cbe9c30f1c784f0e9c42bd313b6bfb7 (diff) | |
download | wireshark-4c303099aafd15d762b4a544c78c0fff97770ed2.tar.gz wireshark-4c303099aafd15d762b4a544c78c0fff97770ed2.tar.bz2 wireshark-4c303099aafd15d762b4a544c78c0fff97770ed2.zip |
couchbase: Fix Dead Store
Fix dead store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: Icd18de17e7564b946ea177df252dffd2370ff1a0
Reviewed-on: https://code.wireshark.org/review/35408
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
(cherry picked from commit e1a876cf9d25351fd679f26d68b368f249e2f4ed)
Reviewed-on: https://code.wireshark.org/review/35416
-rw-r--r-- | epan/dissectors/packet-couchbase.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/dissectors/packet-couchbase.c b/epan/dissectors/packet-couchbase.c index 1df480f2bd..c631890878 100644 --- a/epan/dissectors/packet-couchbase.c +++ b/epan/dissectors/packet-couchbase.c @@ -2274,7 +2274,6 @@ dissect_value(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, proto_tree_add_item(tree, hf_extras_max_visible_seqno, tvb, offset, 8, ENC_BIG_ENDIAN); offset += 8; proto_tree_add_item(tree, hf_extras_high_completed_seqno, tvb, offset, 8, ENC_BIG_ENDIAN); - offset += 8; } } else { ti = proto_tree_add_item(tree, hf_value, tvb, offset, value_len, ENC_ASCII | ENC_NA); |