diff options
author | Gerald Combs <gerald@wireshark.org> | 2009-07-30 16:17:46 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2009-07-30 16:17:46 +0000 |
commit | e951661130a51a0d665567241a0f044cc8c8a7b3 (patch) | |
tree | 16f049fb409cc40292977d42be080eace630707d /epan/dissectors/packet-ositp.c | |
parent | 0cceb40317eb1e0695d2125f1b29e16c8811dd6e (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.c | 4 |
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; |