From fb1c42fe41c6a1932ae2b2c0587188e741daddf8 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Wed, 10 Feb 2016 11:02:03 +0100 Subject: umts_fp: fix ... defined but not used [-Werror=unused-const-variable] found by gcc6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I5866ea2d6a08a90799882b0c4626d0ed215069a8 error: ‘fake_lchid_macd_flow’ defined but not used [-Werror=unused-const-variable] error: ‘hsdsch_macdflow_id_mac_content_map’ defined but not used [-Werror=unused-const-variable] error: ‘hsdsch_macdflow_id_rlc_map’ defined but not used [-Werror=unused-const-variable] Reviewed-on: https://code.wireshark.org/review/13871 Petri-Dish: Anders Broman Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman --- asn1/nbap/packet-nbap-template.h | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'asn1') diff --git a/asn1/nbap/packet-nbap-template.h b/asn1/nbap/packet-nbap-template.h index ff46ceabda..705d32bd65 100644 --- a/asn1/nbap/packet-nbap-template.h +++ b/asn1/nbap/packet-nbap-template.h @@ -37,34 +37,6 @@ extern guint8 lchId_type_table[]; /* Mapping logicalchannel id to RLC_MODE */ extern guint8 lchId_rlc_map[]; -/* 0 to 7*/ -static const guint8 hsdsch_macdflow_id_rlc_map[] = { - RLC_UM, /*0 SRB */ - RLC_AM, /*1 Interactive PS*/ - RLC_AM, /*2 Interatcive PS*/ - RLC_UNKNOWN_MODE, /*3 ???*/ - RLC_AM, /*4 Streaming PS*/ - RLC_UNKNOWN_MODE, - RLC_UNKNOWN_MODE, - RLC_UNKNOWN_MODE - }; - -/* Mapping hsdsch MACd-FlowId to MAC_CONTENT, basically flowid = 1 (0) => SRB*/ -/* 1 to 8*/ -static const guint8 hsdsch_macdflow_id_mac_content_map[] = { - MAC_CONTENT_DCCH, /*1 SRB */ - MAC_CONTENT_PS_DTCH, /*2 Interactive PS*/ - MAC_CONTENT_PS_DTCH, /*3 Interatcive PS*/ - RLC_UNKNOWN_MODE, /*4 ???*/ - MAC_CONTENT_PS_DTCH, /*5 Streaming PS*/ - RLC_UNKNOWN_MODE, - RLC_UNKNOWN_MODE, - RLC_UNKNOWN_MODE - }; - -/* Make fake logical channel id's based on MACdFlow-ID's*/ -static const guint8 fake_lchid_macd_flow[] = {1,9,14,11,0,12}; - #if 0 static const value_string lchid_name_resolve[] = { {1,"DCCH"}, /* 1 to 4 SRB => DCCH*/ -- cgit v1.2.1