Try to fix unused code warnings.
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 2 Sep 2008 06:04:25 +0000 (06:04 +0000)
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 2 Sep 2008 06:04:25 +0000 (06:04 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26111 f5534014-38df-0310-8fa8-9805f1628bb7

asn1/x509sat/x509sat.cnf
epan/dissectors/packet-x509sat.c

index 7fc3ecb999d242a9ce2e2425e00e06a44bbb40b0..528bd2a2f9a54a8341505ea741ee8d70a33c000b 100644 (file)
@@ -47,7 +47,6 @@ ZonalSelect
 #.PDU
 CaseIgnoreListMatch
 CountryName
-DayTime
 DestinationIndicator
 DirectoryString
 EnhancedGuide
@@ -63,8 +62,6 @@ TelexNumber
 UniqueIdentifier
 X121Address
 
-
-
 #.REGISTER
 ObjectIdentifier        B "2.5.4.0"   "id-at-objectClass"
 #  - see x509if.cnf for "id-at-aliasedEntryName"
index 52d2c6ccd53b8b5cd9efe10c0e18a71dcf1506bf..2b1e57ea249a8c58ab08e3b1cc368306df7c492d 100644 (file)
@@ -75,7 +75,6 @@ static int hf_x509sat_PresentationAddress_PDU = -1;  /* PresentationAddress */
 static int hf_x509sat_ProtocolInformation_PDU = -1;  /* ProtocolInformation */
 static int hf_x509sat_NameAndOptionalUID_PDU = -1;  /* NameAndOptionalUID */
 static int hf_x509sat_CaseIgnoreListMatch_PDU = -1;  /* CaseIgnoreListMatch */
-static int hf_x509sat_DayTime_PDU = -1;           /* DayTime */
 static int hf_x509sat_ObjectIdentifier_PDU = -1;  /* ObjectIdentifier */
 static int hf_x509sat_OctetString_PDU = -1;       /* OctetString */
 static int hf_x509sat_BitString_PDU = -1;         /* BitString */
@@ -1504,7 +1503,7 @@ dissect_x509sat_SyntaxIA5String(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, in
 
 static int
 dissect_x509sat_SyntaxBMPString(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
-#line 303 "x509sat.cnf"
+#line 300 "x509sat.cnf"
        tvbuff_t        *wide_tvb = NULL;
        char            *string;
 
@@ -1512,7 +1511,7 @@ dissect_x509sat_SyntaxBMPString(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, in
                                             actx, tree, tvb, offset, hf_index,
                                             &wide_tvb);
 
-#line 308 "x509sat.cnf"
+#line 305 "x509sat.cnf"
        if (! wide_tvb) {
                return offset;
        }
@@ -1549,7 +1548,7 @@ dissect_x509sat_SyntaxGraphicString(gboolean implicit_tag _U_, tvbuff_t *tvb _U_
 
 static int
 dissect_x509sat_GUID(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
-#line 317 "x509sat.cnf"
+#line 314 "x509sat.cnf"
   gint8 class;
   gboolean pc;
   gint32 tag;
@@ -1658,11 +1657,6 @@ static void dissect_CaseIgnoreListMatch_PDU(tvbuff_t *tvb _U_, packet_info *pinf
   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
   dissect_x509sat_CaseIgnoreListMatch(FALSE, tvb, 0, &asn1_ctx, tree, hf_x509sat_CaseIgnoreListMatch_PDU);
 }
-static void dissect_DayTime_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
-  asn1_ctx_t asn1_ctx;
-  asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
-  dissect_x509sat_DayTime(FALSE, tvb, 0, &asn1_ctx, tree, hf_x509sat_DayTime_PDU);
-}
 static void dissect_ObjectIdentifier_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
   asn1_ctx_t asn1_ctx;
   asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
@@ -1815,10 +1809,6 @@ void proto_register_x509sat(void) {
       { "CaseIgnoreListMatch", "x509sat.CaseIgnoreListMatch",
         FT_UINT32, BASE_DEC, NULL, 0,
         "x509sat.CaseIgnoreListMatch", HFILL }},
-    { &hf_x509sat_DayTime_PDU,
-      { "DayTime", "x509sat.DayTime",
-        FT_NONE, BASE_NONE, NULL, 0,
-        "x509sat.DayTime", HFILL }},
     { &hf_x509sat_ObjectIdentifier_PDU,
       { "ObjectIdentifier", "x509sat.ObjectIdentifier",
         FT_OID, BASE_NONE, NULL, 0,