diff options
author | Bill Meier <wmeier@newsguy.com> | 2012-12-05 15:56:36 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2012-12-05 15:56:36 +0000 |
commit | 7cd0417af555a78b19c6909a40d1867e0fe9a063 (patch) | |
tree | cc09f739029479eee683f26228e098db307fd1aa /plugins/opcua/opcua_extensionobjecttable.c | |
parent | f8ba6b5a077fa89f1d1e55b5bed4bab0ea6b11cf (diff) |
Fix numerous instances of a variable/parameter name "shadowing" a library function name;
(At least some (gcc ?) compilers give a "shadow" warning for these).
svn path=/trunk/; revision=46402
Diffstat (limited to 'plugins/opcua/opcua_extensionobjecttable.c')
-rw-r--r-- | plugins/opcua/opcua_extensionobjecttable.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/opcua/opcua_extensionobjecttable.c b/plugins/opcua/opcua_extensionobjecttable.c index 8df9e0abaa..40d6e48efa 100644 --- a/plugins/opcua/opcua_extensionobjecttable.c +++ b/plugins/opcua/opcua_extensionobjecttable.c @@ -163,7 +163,7 @@ const int g_NumTypes = sizeof(g_arExtensionObjectParserTable) / sizeof(Extension void dispatchExtensionObjectType(proto_tree *tree, tvbuff_t *tvb, gint *pOffset, int TypeId) { gint iOffset = *pOffset; - int index = 0; + int indx = 0; int bFound = 0; gint32 iLen = 0; @@ -171,15 +171,15 @@ void dispatchExtensionObjectType(proto_tree *tree, tvbuff_t *tvb, gint *pOffset, iLen = tvb_get_letohl(tvb, iOffset); iOffset += 4; - while (index < g_NumTypes) + while (indx < g_NumTypes) { - if (g_arExtensionObjectParserTable[index].iRequestId == TypeId) + if (g_arExtensionObjectParserTable[indx].iRequestId == TypeId) { bFound = 1; - (*g_arExtensionObjectParserTable[index].pParser)(tree, tvb, &iOffset, g_arExtensionObjectParserTable[index].typeName); + (*g_arExtensionObjectParserTable[indx].pParser)(tree, tvb, &iOffset, g_arExtensionObjectParserTable[indx].typeName); break; } - index++; + indx++; } /* display contained object as ByteString if unknown type */ |