aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ositp.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2009-07-30 16:17:46 +0000
committerGerald Combs <gerald@wireshark.org>2009-07-30 16:17:46 +0000
commite951661130a51a0d665567241a0f044cc8c8a7b3 (patch)
tree16f049fb409cc40292977d42be080eace630707d /epan/dissectors/packet-ositp.c
parent0cceb40317eb1e0695d2125f1b29e16c8811dd6e (diff)
Remove some unused variable assignments.
svn path=/trunk/; revision=29243
Diffstat (limited to 'epan/dissectors/packet-ositp.c')
-rw-r--r--epan/dissectors/packet-ositp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/epan/dissectors/packet-ositp.c b/epan/dissectors/packet-ositp.c
index 61815f3e44..41750e81e0 100644
--- a/epan/dissectors/packet-ositp.c
+++ b/epan/dissectors/packet-ositp.c
@@ -396,7 +396,6 @@ static gboolean ositp_decode_var_part(tvbuff_t *tvb, int offset,
"Residual error rate, TSDU size of interest: %u",
1<<tvb_get_guint8(tvb, offset));
offset += 1;
- length -= 1;
vp_length -= 1;
break;
@@ -435,7 +434,6 @@ static gboolean ositp_decode_var_part(tvbuff_t *tvb, int offset,
proto_tree_add_text(tree, tvb, offset, 2,
"Transit delay, maximum acceptable, called-calling: %u ms", s4);
offset += 2;
- length -= 2;
vp_length -= 2;
break;
@@ -494,7 +492,6 @@ static gboolean ositp_decode_var_part(tvbuff_t *tvb, int offset,
proto_tree_add_text(tree, tvb, offset, 3,
"Average throughput, minimum acceptable, called-calling: %u o/s", t4);
offset += 3;
- length -= 3;
vp_length -= 3;
}
break;
@@ -529,7 +526,6 @@ static gboolean ositp_decode_var_part(tvbuff_t *tvb, int offset,
proto_tree_add_text(tree, tvb, offset, 2,
"Credit: 0x%04x", tvb_get_ntohs(tvb, offset));
offset += 2;
- length -= 2;
vp_length -= 2;
break;