aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rsvp.c
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2013-04-04 17:15:10 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2013-04-04 17:15:10 +0000
commitf4a29a59f6008bfde23375ebec3d4159221dfa98 (patch)
treefe106cd3a016aa9c25c11d90bfed0da4f6a73d28 /epan/dissectors/packet-rsvp.c
parentb1fc95c5cfcce3802bb9c0c47bdad1c308bcf9b5 (diff)
Remove a shadow variable.
svn path=/trunk/; revision=48735
Diffstat (limited to 'epan/dissectors/packet-rsvp.c')
-rw-r--r--epan/dissectors/packet-rsvp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-rsvp.c b/epan/dissectors/packet-rsvp.c
index c267b4d81c..0b23c93677 100644
--- a/epan/dissectors/packet-rsvp.c
+++ b/epan/dissectors/packet-rsvp.c
@@ -6139,7 +6139,7 @@ static void
gint32 tft_qos_list_len;
guint8 blob_len, item_len;
proto_tree *qos_tree;
- int i = 0;
+ int num = 0;
tft_qos_list_len = tvb_get_ntohs(tvb, offset);
proto_tree_add_item(rsvp_object_tree, hf_rsvp_3gpp_obj_tft_qos_list_len, tvb, offset, 2, ENC_BIG_ENDIAN);
@@ -6147,8 +6147,8 @@ static void
tft_qos_list_len-=2;
if(tft_qos_list_len > 0){
while (tft_qos_list_len>0) {
- i++;
- ti = proto_tree_add_text(rsvp_object_tree, tvb, offset, -1, "QOS Flow Identifier Num %u",i);
+ num++;
+ ti = proto_tree_add_text(rsvp_object_tree, tvb, offset, -1, "QOS Flow Identifier Num %u", num);
qos_tree = proto_item_add_subtree(ti, ett_treelist[TT_3GPP_OBJ_QOS]);
/* Flow Identifier */