aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-vsock.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2016-07-25 11:51:38 +0200
committerAnders Broman <a.broman58@gmail.com>2016-07-25 12:22:15 +0000
commite2f36efbdd7cc79f0714e0b8ea7f0f3f2d1cd779 (patch)
treef27eb9ed026de76af662e13bc441c24ff864a677 /epan/dissectors/packet-vsock.c
parent5a469ddc893f7c1912d0e15cc73bd3011e6cc2fb (diff)
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>
Diffstat (limited to 'epan/dissectors/packet-vsock.c')
-rw-r--r--epan/dissectors/packet-vsock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-vsock.c b/epan/dissectors/packet-vsock.c
index 494998767d..ef2066c8d9 100644
--- a/epan/dissectors/packet-vsock.c
+++ b/epan/dissectors/packet-vsock.c
@@ -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",