forked from osmocom/wireshark
vsock: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: I266b0542597eec755b7998d9d5abbae8e804b192 Reviewed-on: https://code.wireshark.org/review/16651 Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
5a469ddc89
commit
e2f36efbdd
|
@ -214,7 +214,7 @@ dissect_vsock(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
|
|||
offset += 4;
|
||||
|
||||
proto_tree_add_item_ret_uint(virtio_tree, hf_virtio_fwd_cnt, tvb, offset, 4, ENC_LITTLE_ENDIAN, &virtio_fwd_cnt);
|
||||
offset += 4;
|
||||
/*offset += 4;*/
|
||||
|
||||
/* Append virtio information */
|
||||
col_append_fstr(pinfo->cinfo, COL_INFO, ": %s, Op: %s, Buf alloc: %u, Fwd cnt: %u",
|
||||
|
|
Loading…
Reference in New Issue