diff options
author | Bill Meier <wmeier@newsguy.com> | 2013-10-26 02:09:14 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2013-10-26 02:09:14 +0000 |
commit | 6dd42b581a599a31b8ac5ffc5c696969bfc1e2d4 (patch) | |
tree | 32ce4c0ab303c3fc262e6dd7793a902206d99ad1 /epan/dissectors/packet-ansi_map.c | |
parent | 63869c4037baca63c82fbe38b17167bea75fa14d (diff) | |
download | wireshark-6dd42b581a599a31b8ac5ffc5c696969bfc1e2d4.tar.gz |
Fix some [-Wunused-const-variable] warnings (using '#if 0')
svn path=/trunk/; revision=52862
Diffstat (limited to 'epan/dissectors/packet-ansi_map.c')
-rw-r--r-- | epan/dissectors/packet-ansi_map.c | 54 |
1 files changed, 51 insertions, 3 deletions
diff --git a/epan/dissectors/packet-ansi_map.c b/epan/dissectors/packet-ansi_map.c index 4236a0673c..016c844710 100644 --- a/epan/dissectors/packet-ansi_map.c +++ b/epan/dissectors/packet-ansi_map.c @@ -1391,10 +1391,12 @@ static const true_false_string ansi_map_navail_bool_val = { "Number is not available", "Number is available" }; +#if 0 static const true_false_string ansi_map_si_bool_val = { "User provided, screening passed", "User provided, not screened" }; +#endif static const value_string ansi_map_si_vals[] = { { 0, "User provided, not screened"}, { 1, "User provided, screening passed"}, @@ -1568,10 +1570,12 @@ dissect_ansi_map_digits_type(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree * } /* 6.5.3.13. Subaddress */ +#if 0 static const true_false_string ansi_map_Odd_Even_Ind_bool_val = { "Odd", "Even" }; +#endif /* Type of Subaddress (octet 1, bits E-G) */ static const value_string ansi_map_sub_addr_type_vals[] = { { 0, "NSAP (CCITT Rec. X.213 or ISO 8348 AD2)"}, @@ -2527,17 +2531,21 @@ dissect_ansi_map_messagewaitingnotificationcount(tvbuff_t *tvb, packet_info *pin } +#if 0 /* 6.5.2.79 MessageWaitingNotificationType */ /* Pip Tone (PT) (octet 1, bit A) */ static const true_false_string ansi_map_MessageWaitingNotificationType_pt_bool_val = { "Pip Tone (PT) notification is required", "Pip Tone (PT) notification is not authorized or no notification is required" }; +#endif +#if 0 /* Alert Pip Tone (APT) (octet 1, bit B) */ static const true_false_string ansi_map_MessageWaitingNotificationType_apt_bool_val = { "Alert Pip Tone (APT) notification is required", "Alert Pip Tone (APT) notification is not authorized or notification is not required" }; +#endif /* Message Waiting Indication (MWI) (octet 1, bits C and D) */ static const value_string ansi_map_MessageWaitingNotificationType_mwi_vals[] = { { 0, "No MWI. Message Waiting Indication (MWI) notification is not authorized or notification is not required"}, @@ -2657,6 +2665,7 @@ dissect_ansi_map_nampschanneldata(tvbuff_t *tvb, packet_info *pinfo _U_, proto_t } +#if 0 /* 6.5.2.88 OneTimeFeatureIndicator */ /* updated with N.S0012 */ /* Call Waiting for Future Incoming Call (CWFI) (octet 1, bits A and B) */ @@ -2669,6 +2678,8 @@ static const value_string ansi_map_onetimefeatureindicator_cw_vals[] = { { 3, "Priority CW"}, { 0, NULL } }; +#endif +#if 0 /* MessageWaitingNotification (MWN) (octet 1, bits E and F) */ static const value_string ansi_map_onetimefeatureindicator_mwn_vals[] = { { 0, "Ignore"}, @@ -2677,6 +2688,8 @@ static const value_string ansi_map_onetimefeatureindicator_mwn_vals[] = { { 3, "Reserved"}, { 0, NULL } }; +#endif +#if 0 /* Calling Number Identification Restriction (CNIR) (octet 1, bits G and H)*/ static const value_string ansi_map_onetimefeatureindicator_cnir_vals[] = { { 0, "Ignore"}, @@ -2685,7 +2698,9 @@ static const value_string ansi_map_onetimefeatureindicator_cnir_vals[] = { { 3, "Reserved"}, { 0, NULL } }; +#endif +#if 0 /* Priority Access and Channel Assignment (PACA) (octet 2, bits A and B)*/ static const value_string ansi_map_onetimefeatureindicator_paca_vals[] = { { 0, "Ignore"}, @@ -2694,7 +2709,9 @@ static const value_string ansi_map_onetimefeatureindicator_paca_vals[] = { { 3, "Reserved"}, { 0, NULL } }; +#endif +#if 0 /* Flash Privileges (Flash) (octet 2, bits C and D) */ static const value_string ansi_map_onetimefeatureindicator_flash_vals[] = { { 0, "Ignore"}, @@ -2703,6 +2720,8 @@ static const value_string ansi_map_onetimefeatureindicator_flash_vals[] = { { 3, "Reserved"}, { 0, NULL } }; +#endif +#if 0 /* Calling Name Restriction (CNAR) (octet 2, bits E and F) */ static const value_string ansi_map_onetimefeatureindicator_cnar_vals[] = { { 0, "Ignore"}, @@ -2711,6 +2730,7 @@ static const value_string ansi_map_onetimefeatureindicator_cnar_vals[] = { { 3, "Blocking Toggle"}, { 0, NULL } }; +#endif static void dissect_ansi_map_onetimefeatureindicator(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){ /* @@ -3212,6 +3232,7 @@ dissect_ansi_map_sms_originationrestrictions(tvbuff_t *tvb, packet_info *pinfo _ /* 6.5.2.137 SMS_TeleserviceIdentifier */ /* Updated with N.S0011-0 v 1.0 */ +#if 0 /* SMS Teleservice Identifier (octets 1 and 2) */ static const value_string ansi_map_SMS_TeleserviceIdentifier_vals[] = { { 0, "Not used"}, @@ -3228,6 +3249,7 @@ static const value_string ansi_map_SMS_TeleserviceIdentifier_vals[] = { { 32584, "TDMA Segmented System Assisted Mobile Positioning Service" }, { 0, NULL } }; +#endif /* 6.5.2.140 SPINITriggers */ /* All Origination (All) (octet 1, bit A) */ @@ -3654,6 +3676,7 @@ static const value_string ansi_map_TDMAServiceCode_vals[] = { { 7, "STU-III"}, { 0, NULL } }; +#if 0 /* 6.5.2.j (IS-730) TDMATerminalCapability N.S0008-0 v 1.0 Updted with N.S0015-0 */ /* Supported Frequency Band (octet 1) */ /* Voice Coder (octet 2) */ @@ -3669,6 +3692,7 @@ static const value_string ansi_map_TDMATerminalCapability_prot_ver_vals[] = { { 7, "PV 3 as published in TIA/EIA-136-A."}, { 0, NULL } }; +#endif /* Asynchronous Data (ADS) (octet 4, bit A) N.S0007-0*/ /* Group 3 Fax (G3FAX) (octet 4, bit B) */ /* Secure Telephone Unit III (STU3) (octet 4, bit C) */ @@ -3842,6 +3866,7 @@ static const value_string ansi_map_TDMABandwidth_vals[] = { proto_tree_add_item(subtree, hf_ansi_map_tmn, tvb, offset, 1, ENC_BIG_ENDIAN); } */ +#if 0 /* 6.5.2.as ChangeServiceAttributes N.S0008-0 v 1.0 */ /* Change Facilities Flag (CHGFAC)(octet 1, bits A - B) */ static const value_string ansi_map_ChangeServiceAttributes_chgfac_vals[] = { @@ -3851,6 +3876,8 @@ static const value_string ansi_map_ChangeServiceAttributes_chgfac_vals[] = { { 3, "Change Facilities Operation Not Used"}, { 0, NULL } }; +#endif +#if 0 /* Service Negotiate Flag (SRVNEG)(octet 1, bits C - D) */ static const value_string ansi_map_ChangeServiceAttributes_srvneg_vals[] = { { 0, "Service Negotiation Used"}, @@ -3859,6 +3886,8 @@ static const value_string ansi_map_ChangeServiceAttributes_srvneg_vals[] = { { 3, "Service Negotiation Not Required"}, { 0, NULL } }; +#endif +#if 0 /* 6.5.2.au DataPrivacyParameters N.S0008-0 v 1.0*/ /* Privacy Mode (PM) (octet 1, Bits A and B) */ static const value_string ansi_map_DataPrivacyParameters_pm_vals[] = { @@ -3868,12 +3897,15 @@ static const value_string ansi_map_DataPrivacyParameters_pm_vals[] = { { 3, "Reserved. Treat reserved values the same as value 0, Privacy inactive or not supported."}, { 0, NULL } }; +#endif +#if 0 /* Data Privacy Version (PM) (octet 2) */ static const value_string ansi_map_DataPrivacyParameters_data_priv_ver_vals[] = { { 0, "Not used"}, { 1, "Data Privacy Version 1"}, { 0, NULL } }; +#endif /* 6.5.2.av ISLPInformation N.S0008-0 v 1.0*/ /* ISLP Type (octet 1) */ @@ -3916,6 +3948,7 @@ static const value_string ansi_map_ServiceRedirectionCause_type_vals[] = { /* 6.5.2.bw CallingPartyName N.S0012-0 v 1.0*/ +#if 0 /* Presentation Status (octet 1, bits A and B) */ static const value_string ansi_map_Presentation_Status_vals[] = { { 0, "Presentation allowed"}, @@ -3924,11 +3957,14 @@ static const value_string ansi_map_Presentation_Status_vals[] = { { 3, "No indication"}, { 0, NULL } }; +#endif +#if 0 /* Availability (octet 1, bit E) N.S0012-0 v 1.0*/ static const true_false_string ansi_map_Availability_bool_val = { "Name not available", "Name available/unknown" }; +#endif static void dissect_ansi_map_callingpartyname(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, asn1_ctx_t *actx _U_){ @@ -3958,6 +3994,7 @@ dissect_ansi_map_callingpartyname(tvbuff_t *tvb _U_, packet_info *pinfo _U_, pro /* Global Title Octet 2 - n */ +#if 0 /* 6.5.2.dc SpecializedResource N.S0013-0 v 1.0*/ /* Resource Type (octet 1) */ static const value_string ansi_map_resource_type_vals[] = { @@ -3967,6 +4004,7 @@ static const value_string ansi_map_resource_type_vals[] = { { 3, "Automatic Speech Recognition - Speaker Independent - Speech User Interface Version 1"}, { 0, NULL } }; +#endif /* 6.5.2.df TriggerCapability */ /* Updated with N.S0004 N.S0013-0 v 1.0*/ @@ -4124,6 +4162,7 @@ static const value_string ansi_MSIDUsage_m_or_i_vals[] = { /* 6.5.2.ff NewMINExtension N.S0015-0 */ +#if 0 /* 6.5.2.fv ACGEncountered N.S0023-0 v 1.0 */ /* ACG Encountered (octet 1, bits A-F) */ static const value_string ansi_ACGEncountered_vals[] = { @@ -4145,6 +4184,8 @@ static const value_string ansi_ACGEncountered_vals[] = { { 15, "15-digit control"}, { 0, NULL } }; +#endif +#if 0 /* Control Type (octet 1, bits G-H) */ static const value_string ansi_ACGEncountered_cntrl_type_vals[] = { { 0, "Not used."}, @@ -4153,11 +4194,13 @@ static const value_string ansi_ACGEncountered_cntrl_type_vals[] = { { 3, "Reserved. Treat the same as value 0, Not used."}, { 0, NULL } }; +#endif /* 6.5.2.fw ControlType N.S0023-0 v 1.0 */ +#if 0 /* 6.5.2.ge QoSPriority N.S0029-0 v1.0*/ /* 6.5.2.xx QOSPriority */ /* Non-Assured Priority (octet 1, bits A-D) */ @@ -4180,6 +4223,7 @@ static const value_string ansi_map_Priority_vals[] = { { 15, "Reserved"}, { 0, NULL } }; +#endif /* Assured Priority (octet 1, bits E-H)*/ @@ -4284,6 +4328,7 @@ static const value_string ansi_map_Priority_vals[] = { { 0, NULL } }; */ +#if 0 /* 6.5.2.bp-1 ServiceRedirectionCause value */ static const value_string ansi_map_ServiceRedirectionCause_vals[] = { { 0, "Not used"}, @@ -4295,6 +4340,7 @@ static const value_string ansi_map_ServiceRedirectionCause_vals[] = { { 6, "WrongNID"}, { 0, NULL } }; +#endif /* 6.5.2.mT AuthenticationResponseReauthentication N.S0011-0 v 1.0*/ /* 6.5.2.vT ReauthenticationReport N.S0011-0 v 1.0*/ @@ -4309,6 +4355,7 @@ static const value_string ansi_map_ReauthenticationReport_vals[] = { +#if 0 /* 6.5.2.lB AKeyProtocolVersion N.S0011-0 v 1.0 */ @@ -4320,6 +4367,7 @@ static const value_string ansi_map_AKeyProtocolVersion_vals[] = { { 4, "Diffie Hellman with 768-bit modulus, 32-bit primitive, and 160-bit exponents"}, { 0, NULL } }; +#endif /* 6.5.2.sB OTASP_ResultCode N.S0011-0 v 1.0 */ @@ -15463,7 +15511,7 @@ dissect_ansi_map_ReturnData(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int of /*--- End of included file: packet-ansi_map-fn.c ---*/ -#line 3589 "../../asn1/ansi_map/packet-ansi_map-template.c" +#line 3637 "../../asn1/ansi_map/packet-ansi_map-template.c" /* * 6.5.2.dk N.S0013-0 v 1.0,X.S0004-550-E v1.0 2.301 @@ -19309,7 +19357,7 @@ void proto_register_ansi_map(void) { NULL, HFILL }}, /*--- End of included file: packet-ansi_map-hfarr.c ---*/ -#line 5242 "../../asn1/ansi_map/packet-ansi_map-template.c" +#line 5290 "../../asn1/ansi_map/packet-ansi_map-template.c" }; /* List of subtrees */ @@ -19570,7 +19618,7 @@ void proto_register_ansi_map(void) { &ett_ansi_map_ReturnData, /*--- End of included file: packet-ansi_map-ettarr.c ---*/ -#line 5275 "../../asn1/ansi_map/packet-ansi_map-template.c" +#line 5323 "../../asn1/ansi_map/packet-ansi_map-template.c" }; static const enum_val_t ansi_map_response_matching_type_values[] = { |