From 5e408534c89755b2834e63fa9682a8d26c9ef025 Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Mon, 3 Jun 2013 04:25:31 +0000 Subject: cc1: warnings being treated as errors ../../asn1/nbap/packet-nbap-template.c: In function 'add_hsdsch_bind': ../../asn1/nbap/packet-nbap-template.c:349: warning: unused parameter 'tree' svn path=/trunk/; revision=49708 --- asn1/nbap/nbap.cnf | 2 +- asn1/nbap/packet-nbap-template.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'asn1/nbap') diff --git a/asn1/nbap/nbap.cnf b/asn1/nbap/nbap.cnf index a3fec653ac..030d704f41 100644 --- a/asn1/nbap/nbap.cnf +++ b/asn1/nbap/nbap.cnf @@ -1671,7 +1671,7 @@ nbap_edch_channel_info[e_dch_macdflow_id].no_ddi_entries = num_items; } } %(DEFAULT_BODY)s - add_hsdsch_bind(actx->pinfo,tree); + add_hsdsch_bind(actx->pinfo); break; default: diff --git a/asn1/nbap/packet-nbap-template.c b/asn1/nbap/packet-nbap-template.c index 78069585c4..b9cae6c1e2 100644 --- a/asn1/nbap/packet-nbap-template.c +++ b/asn1/nbap/packet-nbap-template.c @@ -315,7 +315,7 @@ static int dissect_SuccessfulOutcomeValue(tvbuff_t *tvb, packet_info *pinfo, pro static int dissect_UnsuccessfulOutcomeValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *); /*Easy way to add hsdhsch binds for corner cases*/ -static void add_hsdsch_bind(packet_info * pinfo, proto_tree * tree); +static void add_hsdsch_bind(packet_info * pinfo); #include "packet-nbap-fn.c" @@ -346,7 +346,7 @@ static int dissect_UnsuccessfulOutcomeValue(tvbuff_t *tvb, packet_info *pinfo, p if (!ProcedureID) return 0; return (dissector_try_string(nbap_proc_uout_dissector_table, ProcedureID, tvb, pinfo, tree)) ? tvb_length(tvb) : 0; } -static void add_hsdsch_bind(packet_info *pinfo, proto_tree * tree){ +static void add_hsdsch_bind(packet_info *pinfo){ address null_addr; conversation_t *conversation = NULL; umts_fp_conversation_info_t *umts_fp_conversation_info; -- cgit v1.2.3