diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2011-03-23 08:03:02 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2011-03-23 08:03:02 +0000 |
commit | cb56e8455673ee820c7562cd327a827ee6673d15 (patch) | |
tree | ec067835633fe2e18f4774d775f0dd048302c0f6 /plugins/opcua/opcua_application_layer.c | |
parent | 888880eb25ba8dc80dc02c6ec61de73abccbfe91 (diff) |
Removed unused parameter to parseServiceNodeId.
Coverity 596.
svn path=/trunk/; revision=36283
Diffstat (limited to 'plugins/opcua/opcua_application_layer.c')
-rw-r--r-- | plugins/opcua/opcua_application_layer.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/opcua/opcua_application_layer.c b/plugins/opcua/opcua_application_layer.c index 1d701274bb..5d08b633d0 100644 --- a/plugins/opcua/opcua_application_layer.c +++ b/plugins/opcua/opcua_application_layer.c @@ -72,14 +72,12 @@ void registerApplicationLayerTypes(int proto) /** Parses an OpcUa Service NodeId and returns the service type. * In this cases the NodeId is always from type numeric and NSId = 0. */ -int parseServiceNodeId(proto_tree *tree, tvbuff_t *tvb, gint *pOffset, char *szFieldName) +int parseServiceNodeId(proto_tree *tree, tvbuff_t *tvb, gint *pOffset) { gint iOffset = *pOffset; guint8 EncodingMask; guint32 Numeric = 0; - szFieldName = 0; /* avoid warning */ - EncodingMask = tvb_get_guint8(tvb, iOffset); proto_tree_add_item(tree, hf_opcua_nodeid_encodingmask, tvb, iOffset, 1, TRUE); iOffset++; |