aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-pktap.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2014-09-26 11:56:31 +0200
committerAnders Broman <a.broman58@gmail.com>2014-09-26 13:22:08 +0000
commitce36b20ca5d01490acd1fb6ca44a82dab85ba2a2 (patch)
tree51ba97a6210a7e7f7283f4763ed5da3714017d61 /epan/dissectors/packet-pktap.c
parenta7591fbb046ccf5bd1872d6f4158ab345e0dd4d0 (diff)
Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
Change-Id: Ia0f29a491af920415d6e56f30ef436544f7d5ddf Reviewed-on: https://code.wireshark.org/review/4303 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-pktap.c')
-rw-r--r--epan/dissectors/packet-pktap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-pktap.c b/epan/dissectors/packet-pktap.c
index 676e8c6530..6a18bef049 100644
--- a/epan/dissectors/packet-pktap.c
+++ b/epan/dissectors/packet-pktap.c
@@ -202,7 +202,7 @@ dissect_pktap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
offset += 4;
proto_tree_add_item(pktap_tree, hf_pktap_ecmdname, tvb, offset, 20,
ENC_UTF_8|ENC_NA);
- offset += 20;
+ /*offset += 20;*/
if (rectype == PKT_REC_PACKET) {
next_tvb = tvb_new_subset_remaining(tvb, pkt_len);