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.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.c')
-rw-r--r-- | plugins/opcua/opcua.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/opcua/opcua.c b/plugins/opcua/opcua.c index de80d74abb..1116834609 100644 --- a/plugins/opcua/opcua.c +++ b/plugins/opcua/opcua.c @@ -224,15 +224,15 @@ static void dissect_opcua_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree /* display the service type in addition to the message type */ if (iServiceId != -1) { - int index = 0; - while (index < g_NumServices) + int indx = 0; + while (indx < g_NumServices) { - if (g_requesttypes[index].value == (guint32)iServiceId) + if (g_requesttypes[indx].value == (guint32)iServiceId) { - col_add_fstr(pinfo->cinfo, COL_INFO, "%s: %s", g_szMessageTypes[msgtype], g_requesttypes[index].strptr); + col_add_fstr(pinfo->cinfo, COL_INFO, "%s: %s", g_szMessageTypes[msgtype], g_requesttypes[indx].strptr); break; } - index++; + indx++; } } } |