aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2018-05-10 17:00:22 +0200
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2018-05-12 09:28:32 +0000
commit65754fa4d73293a9659168e8a8d8aacca71df312 (patch)
treee8bf849c7eff468e994d8472561eb424cb2f20af /epan
parent16a52bff6cf8ddfec8126bd40c50b65465ede0cd (diff)
bluecom: remove dead stores/increments (found by clang).
Change-Id: I07475225ca2e81ba22d0669a7ef474d76b46e2cb Reviewed-on: https://code.wireshark.org/review/27445 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-bluecom.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/epan/dissectors/packet-bluecom.c b/epan/dissectors/packet-bluecom.c
index 83a563991e..3f1f16ee97 100644
--- a/epan/dissectors/packet-bluecom.c
+++ b/epan/dissectors/packet-bluecom.c
@@ -205,7 +205,6 @@ dissect_bcp_connect_data(proto_tree *bcp_tree, tvbuff_t *tvb, gint flags)
proto_tree_add_item(bcp_subtree, hf_bcp_connectrsp_lenin, tvb, offset, 2, ENC_BIG_ENDIAN);
offset += 2;
proto_tree_add_item(bcp_subtree, hf_bcp_connectrsp_lenout, tvb, offset, 2, ENC_BIG_ENDIAN);
- offset += 2;
}
}
@@ -300,7 +299,6 @@ dissect_bcp_search_data(proto_tree *bcp_tree, tvbuff_t *tvb, gint flags)
if((len-(offset-offset_base)))
{
proto_tree_add_item(bcp_subtree, hf_bcp_searchrsp_ethaddr2, tvb, offset, BCP_ETHADDR_LEN, ENC_NA);
- offset += BCP_ETHADDR_LEN;
}
}
}
@@ -338,7 +336,6 @@ dissect_bcp_identify_data(proto_tree *bcp_tree, tvbuff_t *tvb)
if((len-(offset-offset_base)))
{
proto_tree_add_item(bcp_subtree, hf_bcp_identify_ethaddr2, tvb, offset, BCP_ETHADDR_LEN, ENC_NA);
- offset += BCP_ETHADDR_LEN;
}
}
@@ -376,7 +373,6 @@ dissect_bcp_sync_data(proto_tree *bcp_tree, tvbuff_t *tvb)
proto_tree_add_item(bcp_subtree, hf_bcp_sync_ethaddr, tvb, offset, BCP_ETHADDR_LEN, ENC_NA);
offset += BCP_ETHADDR_LEN;
proto_tree_add_item(bcp_subtree, hf_bcp_sync_ethaddr2, tvb, offset, BCP_ETHADDR_LEN, ENC_NA);
- offset += BCP_ETHADDR_LEN;
}
}