From 000296b31cb5e8580d54f2966575ff5b8a29781e Mon Sep 17 00:00:00 2001 From: wmeier Date: Mon, 18 Jan 2010 23:16:10 +0000 Subject: Fix some gcc -Wshadow warnings .... git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31559 f5534014-38df-0310-8fa8-9805f1628bb7 --- epan/dissectors/packet-mgcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epan/dissectors/packet-mgcp.c') diff --git a/epan/dissectors/packet-mgcp.c b/epan/dissectors/packet-mgcp.c index 91aa4f67e5..5d4b589590 100644 --- a/epan/dissectors/packet-mgcp.c +++ b/epan/dissectors/packet-mgcp.c @@ -390,9 +390,9 @@ static int dissect_mgcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (mgcp_tree) { - proto_item *ti = proto_tree_add_uint(mgcp_tree, hf_mgcp_messagecount, tvb, + proto_item *tii = proto_tree_add_uint(mgcp_tree, hf_mgcp_messagecount, tvb, 0 ,0 , num_messages); - PROTO_ITEM_SET_HIDDEN(ti); + PROTO_ITEM_SET_HIDDEN(tii); } /* -- cgit v1.2.3