Couchbase: remove unnecessary update to offset

Addresses clang-analyzer warning:

"packet-couchbase.c:2636:7: warning: Value stored to 'offset' is never read"

Change-Id: Ib91fbd64e08f65cbe83887ebdf5b6ae545672bc5
This commit is contained in:
Jim Walker 2022-10-21 10:10:28 +01:00 committed by Gerald Combs
parent 197e645f6a
commit bd4c98b8ed
1 changed files with 0 additions and 1 deletions

View File

@ -2633,7 +2633,6 @@ dissect_value(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
}
} else if (!request && opcode == CLIENT_OPCODE_RANGE_SCAN_CREATE) {
proto_tree_add_item(tree, hf_range_scan_uuid, tvb, offset, 16, ENC_BIG_ENDIAN);
offset += 16;
} else if (path_len != 0) {
ti = proto_tree_add_item(tree, hf_path, tvb, offset, path_len, ENC_ASCII | ENC_NA);
value_len -= path_len;