aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ixveriwave.c
diff options
context:
space:
mode:
authorMartin Mathieson <martin.r.mathieson@googlemail.com>2012-04-28 15:57:50 +0000
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2012-04-28 15:57:50 +0000
commit21cca7ed28ef63cfd6dc625f2e2962696b301524 (patch)
treec5c5e38efb27c233f55cedabfad4ad0e1e91ba5f /epan/dissectors/packet-ixveriwave.c
parent8d15f366c6b85d184ef0bab089a271f30c826943 (diff)
Remove a couple of unused assignments pointed out by clang.
svn path=/trunk/; revision=42310
Diffstat (limited to 'epan/dissectors/packet-ixveriwave.c')
-rw-r--r--epan/dissectors/packet-ixveriwave.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ixveriwave.c b/epan/dissectors/packet-ixveriwave.c
index 1aa93e787f..a4897ce9e1 100644
--- a/epan/dissectors/packet-ixveriwave.c
+++ b/epan/dissectors/packet-ixveriwave.c
@@ -468,7 +468,6 @@ dissect_ixveriwave(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
if (length_remaining >= 4) {
align_offset = ALIGN_OFFSET(offset, 4);
offset += align_offset;
- length_remaining -= align_offset;
vw_pktdur = tvb_get_letohl(tvb, offset);
if (tree) {
@@ -776,7 +775,6 @@ wlantap_dissect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, proto_tree
offset++;
dbm = (gint8) tvb_get_guint8(tvb, offset);
- align_offset = ALIGN_OFFSET(offset, 1);
offset++;
tx_power = (gint8)tvb_get_guint8(tvb, offset);