Fix compiler warnings.

svn path=/trunk/; revision=22921
This commit is contained in:
Gerald Combs 2007-09-21 22:39:02 +00:00
parent a914bf5b8f
commit 571ab2dec2
1 changed files with 46 additions and 44 deletions

View File

@ -294,7 +294,7 @@ static const value_string rsl_ch_no_Cbits_vals[] = {
};
/* 9.3.1 Channel number 9.3.1 M TV 2 */
static int
dissect_rsl_ie_ch_no(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset)
dissect_rsl_ie_ch_no(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
{
proto_item *ti;
proto_tree *ie_tree;
@ -333,7 +333,7 @@ static const value_string rsl_prio_vals[] = {
* 9.3.2 Link Identifier M TV 2
*/
static int
dissect_rsl_ie_link_id(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset)
dissect_rsl_ie_link_id(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
{
proto_item *ti;
proto_tree *ie_tree;
@ -348,7 +348,7 @@ dissect_rsl_ie_link_id(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int
octet = tvb_get_guint8(tvb,offset);
if(octet&0x20 == 0x20){
if((octet&0x20) == 0x20){
/* Not applicable */
proto_tree_add_item(ie_tree, hf_rsl_na, tvb, offset, 1, FALSE);
return offset++;
@ -413,7 +413,7 @@ dissect_rsl_ie_L3_inf(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int o
* 9.3.16 Physical Context TLV
*/
static int
dissect_rsl_ie_phy_ctx(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset)
dissect_rsl_ie_phy_ctx(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
{
proto_item *ti;
proto_tree *ie_tree;
@ -446,7 +446,7 @@ dissect_rsl_ie_phy_ctx(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int
* 9.3.17 Access Delay M TV 2
*/
static int
dissect_rsl_ie_access_delay(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset)
dissect_rsl_ie_access_delay(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
{
proto_item *ti;
proto_tree *ie_tree;
@ -465,7 +465,7 @@ dissect_rsl_ie_access_delay(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
* 9.3.19 Request Reference M TV 4
*/
static int
dissect_rsl_ie_req_ref(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset)
dissect_rsl_ie_req_ref(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
{
proto_item *ti;
proto_tree *ie_tree;
@ -495,7 +495,8 @@ static const value_string rel_mode_vals[] = {
/*
* 9.3.20 Release Mode 9.3.20 M TV 2
*/
dissect_rsl_ie_rel_mode(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset)
static int
dissect_rsl_ie_rel_mode(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
{
proto_item *ti;
proto_tree *ie_tree;
@ -540,7 +541,8 @@ static const value_string rsl_cause_vals[] = {
/*
* 9.3.22 RLM Cause 9.3.22 M TLV 2-4
*/
dissect_rsl_ie_rlm_cause(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset)
static int
dissect_rsl_ie_rlm_cause(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
{
proto_item *ti;
proto_tree *ie_tree;