diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2007-05-16 08:13:11 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2007-05-16 08:13:11 +0000 |
commit | 872f29e29355ee7bd25648e507d89a6e08d46f0d (patch) | |
tree | 599ce83a9c1d8f5b4b9128ed71b1bf291aa6346e /plugins/opcua/opcua.c | |
parent | 2c0a60004644841332c6d844e44dd40cb64b4e46 (diff) |
from Gerhard Gappmeier (ULFL: only slightly changed the unused prevention):
I updated the files for the build process to fit the current wireshark
version.
I don't know much about it so a just copied the missing parts from
another module.
I'm not sure of it's right, so please have a look at it.
Modifications:
* added plugin.rc.in
* added moduleinfo.nmake
* updated Makefile.am/nmake/common
* removed unused variable from opcua_application_layer.c
* fixed unused parameter warning in opcua.c
I tested it on Windows with VC6 and on Gentoo linux with gcc 3.4.6.
svn path=/trunk/; revision=21802
Diffstat (limited to 'plugins/opcua/opcua.c')
-rw-r--r-- | plugins/opcua/opcua.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/opcua/opcua.c b/plugins/opcua/opcua.c index 6f21594bd1..920a29862a 100644 --- a/plugins/opcua/opcua.c +++ b/plugins/opcua/opcua.c @@ -148,7 +148,7 @@ void proto_reg_handoff_opcua(void) * This function reads the length information from * the transport header. */ -static guint get_opcua_message_len(packet_info *pinfo, tvbuff_t *tvb, int offset) +static guint get_opcua_message_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset) { gint32 plen; @@ -254,3 +254,4 @@ static void dissect_opcua_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree + |