aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2008-09-02 06:04:25 +0000
committerAnders Broman <anders.broman@ericsson.com>2008-09-02 06:04:25 +0000
commit8970b4524d14d77ac9b71656a37ab5cc5bd57b2c (patch)
tree92ad9ce81d0634d994a73198f8f55605bffcebc9
parent9d0a401a1294573680e8f3e8f8d9ad69e08862ed (diff)
Try to fix unused code warnings.
svn path=/trunk/; revision=26111
-rw-r--r--asn1/x509sat/x509sat.cnf3
-rw-r--r--epan/dissectors/packet-x509sat.c16
2 files changed, 3 insertions, 16 deletions
diff --git a/asn1/x509sat/x509sat.cnf b/asn1/x509sat/x509sat.cnf
index 7fc3ecb999..528bd2a2f9 100644
--- a/asn1/x509sat/x509sat.cnf
+++ b/asn1/x509sat/x509sat.cnf
@@ -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"
diff --git a/epan/dissectors/packet-x509sat.c b/epan/dissectors/packet-x509sat.c
index 52d2c6ccd5..2b1e57ea24 100644
--- a/epan/dissectors/packet-x509sat.c
+++ b/epan/dissectors/packet-x509sat.c
@@ -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,