aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/nbap
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-06-03 04:25:31 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-06-03 04:25:31 +0000
commit5e408534c89755b2834e63fa9682a8d26c9ef025 (patch)
treea659538ae1ca440c04ab138e4ce0a3dd66fecb27 /asn1/nbap
parent7fe5422c4b4cd58dd7ffeebd984e7668cf61ab5d (diff)
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
Diffstat (limited to 'asn1/nbap')
-rw-r--r--asn1/nbap/nbap.cnf2
-rw-r--r--asn1/nbap/packet-nbap-template.c4
2 files changed, 3 insertions, 3 deletions
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;