diff options
author | Bill Meier <wmeier@newsguy.com> | 2010-01-28 21:49:30 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2010-01-28 21:49:30 +0000 |
commit | 1341fcd87eed8a937e0362eac5cd3bc4d3a1180b (patch) | |
tree | fbe6ba74b37d4f018150d24eb22bd7d82714d4e6 /plugins/opcua/opcua_simpletypes.c | |
parent | 2ea1e1962f0d55e2f22c474df50f1fe609c734ca (diff) | |
download | wireshark-1341fcd87eed8a937e0362eac5cd3bc4d3a1180b.tar.gz |
Fix some gcc -Wshadow warnings.
svn path=/trunk/; revision=31722
Diffstat (limited to 'plugins/opcua/opcua_simpletypes.c')
-rw-r--r-- | plugins/opcua/opcua_simpletypes.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/opcua/opcua_simpletypes.c b/plugins/opcua/opcua_simpletypes.c index 55406e624e..86d353be7a 100644 --- a/plugins/opcua/opcua_simpletypes.c +++ b/plugins/opcua/opcua_simpletypes.c @@ -633,15 +633,15 @@ void parseVariant(proto_tree *tree, tvbuff_t *tvb, gint *pOffset, char *szFieldN if (EncodingMask & VARIANT_ARRAYDIMENSIONS) { - proto_item *ti = proto_tree_add_text(tree, tvb, 0, -1, "Array Dimensions"); - proto_tree *subtree = proto_item_add_subtree(ti, ett_opcua_array); + proto_item *ti_2 = proto_tree_add_text(tree, tvb, 0, -1, "Array Dimensions"); + proto_tree *subtree_2 = proto_item_add_subtree(ti_2, ett_opcua_array); int i; if (ArrayLength < MAX_ARRAY_LEN) { for (i=0; i<ArrayLength; i++) { - parseInt32(subtree, tvb, pOffset, hf_opcua_Int32); + parseInt32(subtree_2, tvb, pOffset, hf_opcua_Int32); } } else |