aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dcerpc-netlogon.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2013-11-06 15:54:24 +0000
committerBill Meier <wmeier@newsguy.com>2013-11-06 15:54:24 +0000
commit53fabc2f8a4b8786cdb6206532ff16ed220359bf (patch)
tree4dd7ecb28de4636136c4436a51b9d8b49ae66d94 /epan/dissectors/packet-dcerpc-netlogon.c
parent0f61417ca48f37c40cc1529e947db0d72fac6240 (diff)
Add _U_ to a few function parameters to fix compiler warnings
Note: I hope the following is not indicative of something wrong with the code. (I've just marked di as _U_). packet-dcerpc-netlogon.c: In function 'dissect_secchan_nl_auth_message': packet-dcerpc-netlogon.c:7582:75: error: unused parameter 'di' [-Werror=unused-parameter] proto_tree *tree, dcerpc_info *di, guint8 *drep) svn path=/trunk/; revision=53104
Diffstat (limited to 'epan/dissectors/packet-dcerpc-netlogon.c')
-rw-r--r--epan/dissectors/packet-dcerpc-netlogon.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/epan/dissectors/packet-dcerpc-netlogon.c b/epan/dissectors/packet-dcerpc-netlogon.c
index 4ef9c94ef4..f5db50da39 100644
--- a/epan/dissectors/packet-dcerpc-netlogon.c
+++ b/epan/dissectors/packet-dcerpc-netlogon.c
@@ -1042,7 +1042,7 @@ netlogon_dissect_LOGON_IDENTITY_INFO(tvbuff_t *tvb, int offset,
*/
static int
netlogon_dissect_LM_OWF_PASSWORD(tvbuff_t *tvb, int offset,
- packet_info *pinfo, proto_tree *parent_tree,
+ packet_info *pinfo _U_, proto_tree *parent_tree,
dcerpc_info *di, guint8 *drep _U_)
{
proto_item *item=NULL;
@@ -1073,7 +1073,7 @@ netlogon_dissect_LM_OWF_PASSWORD(tvbuff_t *tvb, int offset,
*/
static int
netlogon_dissect_NT_OWF_PASSWORD(tvbuff_t *tvb, int offset,
- packet_info *pinfo, proto_tree *parent_tree,
+ packet_info *pinfo _U_, proto_tree *parent_tree,
dcerpc_info *di, guint8 *drep _U_)
{
proto_item *item=NULL;
@@ -1129,7 +1129,7 @@ netlogon_dissect_INTERACTIVE_INFO(tvbuff_t *tvb, int offset,
*/
static int
netlogon_dissect_CHALLENGE(tvbuff_t *tvb, int offset,
- packet_info *pinfo, proto_tree *tree,
+ packet_info *pinfo _U_, proto_tree *tree,
dcerpc_info *di, guint8 *drep _U_)
{
if(di->conformant_run){
@@ -1346,7 +1346,7 @@ netlogon_dissect_LEVEL(tvbuff_t *tvb, int offset,
*/
static int
netlogon_dissect_CREDENTIAL(tvbuff_t *tvb, int offset,
- packet_info *pinfo, proto_tree *tree,
+ packet_info *pinfo _U_, proto_tree *tree,
dcerpc_info *di, guint8 *drep _U_)
{
if(di->conformant_run){
@@ -1491,7 +1491,7 @@ netlogon_dissect_GROUP_MEMBERSHIP_ARRAY(tvbuff_t *tvb, int offset,
*/
static int
netlogon_dissect_USER_SESSION_KEY(tvbuff_t *tvb, int offset,
- packet_info *pinfo, proto_tree *tree,
+ packet_info *pinfo _U_, proto_tree *tree,
dcerpc_info *di, guint8 *drep _U_)
{
if(di->conformant_run){
@@ -2656,7 +2656,7 @@ netlogon_dissect_netrserverauthenticate_reply(tvbuff_t *tvb, int offset,
*/
static int
netlogon_dissect_ENCRYPTED_LM_OWF_PASSWORD(tvbuff_t *tvb, int offset,
- packet_info *pinfo, proto_tree *tree,
+ packet_info *pinfo _U_, proto_tree *tree,
dcerpc_info *di, guint8 *drep _U_)
{
if(di->conformant_run){
@@ -7579,7 +7579,7 @@ static const value_string nl_auth_types[] = {
/* MS-NRPC : 2.2.1.3.1 NL_AUTH_MESSAGE */
static int dissect_secchan_nl_auth_message(tvbuff_t *tvb, int offset,
packet_info *pinfo,
- proto_tree *tree, dcerpc_info *di, guint8 *drep)
+ proto_tree *tree, dcerpc_info *di _U_, guint8 *drep)
{
proto_item *item = NULL;
proto_tree *subtree = NULL;