aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-isup.c
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2011-04-18 15:29:25 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2011-04-18 15:29:25 +0000
commitf30bce9530cc4c851b8be4625276d26e4fd752a8 (patch)
treecbd6c44518c211ecb2d1c12783f503aa91c1c158 /epan/dissectors/packet-isup.c
parent79a3113f0d1515e77c2f08aec063193db50aebe3 (diff)
Removed some unneeded assignments.
Found by clang. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36698 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-isup.c')
-rw-r--r--epan/dissectors/packet-isup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-isup.c b/epan/dissectors/packet-isup.c
index e9b1147441..ad08f5c586 100644
--- a/epan/dissectors/packet-isup.c
+++ b/epan/dissectors/packet-isup.c
@@ -2621,9 +2621,8 @@ dissect_isup_circuit_state_ind_parameter(tvbuff_t *parameter_tvb, proto_tree *pa
guint8 circuit_state;
gint offset=0;
gint i=0;
- gint length;
- while((length = tvb_reported_length_remaining(parameter_tvb, offset)) > 0){
+ while(tvb_reported_length_remaining(parameter_tvb, offset) > 0){
circuit_state_item = proto_tree_add_text(parameter_tree, parameter_tvb,
offset, -1,
"Circuit# CIC+%u state", i);