On Sat, May 04, 2002 at 04:38:24AM +0200, Joerg Mayer wrote:
> The attached patch gets rid of almost all remaining unused warnings in
> the packet-dcerpc-XXX files by declaring the parameters as unused.
Looks like I forgot packet-dcerpc-netlogon.c. It's attached now.
Ciao
Jörg
Index: ethereal/packet-dcerpc-netlogon.c
===================================================================
RCS file: /cvsroot/ethereal/packet-dcerpc-netlogon.c,v
retrieving revision 1.19
diff -u -r1.19 packet-dcerpc-netlogon.c
--- packet-dcerpc-netlogon.c 2002/05/03 11:16:55 1.19
+++ packet-dcerpc-netlogon.c 2002/05/04 10:22:49
@@ -435,7 +435,7 @@
static int
netlogon_dissect_8_unknown_bytes(tvbuff_t *tvb, int offset,
packet_info *pinfo, proto_tree *parent_tree,
- char *drep)
+ char *drep _U_)
{
proto_item *item=NULL;
proto_tree *tree=NULL;
@@ -461,7 +461,7 @@
static int
netlogon_dissect_NETLOGON_CREDENTIAL(tvbuff_t *tvb, int offset,
packet_info *pinfo, proto_tree *parent_tree,
- char *drep)
+ char *drep _U_)
{
proto_item *item=NULL;
proto_tree *tree=NULL;
@@ -514,7 +514,7 @@
static int
netlogon_dissect_USER_SESSION_KEY(tvbuff_t *tvb, int offset,
packet_info *pinfo, proto_tree *parent_tree,
- char *drep)
+ char *drep _U_)
{
proto_item *item=NULL;
proto_tree *tree=NULL;
@@ -542,7 +542,7 @@
static int
netlogon_dissect_ENCRYPTED_LM_OWF_PASSWORD(tvbuff_t *tvb, int offset,
packet_info *pinfo, proto_tree *parent_tree,
- char *drep)
+ char *drep _U_)
{
proto_item *item=NULL;
proto_tree *tree=NULL;
@@ -570,7 +570,7 @@
static int
netlogon_dissect_LM_OWF_PASSWORD(tvbuff_t *tvb, int offset,
packet_info *pinfo, proto_tree *parent_tree,
- char *drep)
+ char *drep _U_)
{
proto_item *item=NULL;
proto_tree *tree=NULL;
@@ -598,7 +598,7 @@
static int
netlogon_dissect_NT_OWF_PASSWORD(tvbuff_t *tvb, int offset,
packet_info *pinfo, proto_tree *parent_tree,
- char *drep)
+ char *drep _U_)
{
proto_item *item=NULL;
proto_tree *tree=NULL;