diff options
author | Anders Broman <anders.broman@ericsson.com> | 2008-07-28 11:03:35 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2008-07-28 11:03:35 +0000 |
commit | 133671c781e428751d68c13a1b576fc8c5ce8e3d (patch) | |
tree | 0acca514d8015a815fce1324e8566c42cf866acd /epan/dissectors/packet-ftam.c | |
parent | 73c20a27d06ed494d6e90e2c9edfcd49794b69b6 (diff) | |
download | wireshark-133671c781e428751d68c13a1b576fc8c5ce8e3d.tar.gz |
Get rid of some unused code warnings.
svn path=/trunk/; revision=25848
Diffstat (limited to 'epan/dissectors/packet-ftam.c')
-rw-r--r-- | epan/dissectors/packet-ftam.c | 52 |
1 files changed, 9 insertions, 43 deletions
diff --git a/epan/dissectors/packet-ftam.c b/epan/dissectors/packet-ftam.c index ad2df5298d..179289b6d6 100644 --- a/epan/dissectors/packet-ftam.c +++ b/epan/dissectors/packet-ftam.c @@ -545,8 +545,6 @@ static gint ett_ftam_F_TRANSFER_END_request = -1; static gint ett_ftam_F_TRANSFER_END_response = -1; static gint ett_ftam_F_CANCEL_request = -1; static gint ett_ftam_F_CANCEL_response = -1; -static gint ett_ftam_F_CHECK_request = -1; -static gint ett_ftam_F_CHECK_response = -1; static gint ett_ftam_F_RESTART_request = -1; static gint ett_ftam_F_RESTART_response = -1; static gint ett_ftam_Access_Context_U = -1; @@ -1314,7 +1312,7 @@ static const ber_choice_t FTAM_Regime_PDU_choice[] = { static int dissect_ftam_FTAM_Regime_PDU(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 84 "ftam.cnf" +#line 89 "ftam.cnf" gint branch_taken; offset = dissect_ber_choice(actx, tree, tvb, offset, @@ -1711,7 +1709,7 @@ dissect_ftam_Permitted_Actions_Attribute(gboolean implicit_tag _U_, tvbuff_t *tv static int dissect_ftam_T_parameter(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 67 "ftam.cnf" +#line 72 "ftam.cnf" offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree); @@ -1915,7 +1913,7 @@ dissect_ftam_Concurrency_Access(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, in static int dissect_ftam_AP_title(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 79 "ftam.cnf" +#line 84 "ftam.cnf" /* XXX have no idea about this one */ @@ -1926,7 +1924,7 @@ dissect_ftam_AP_title(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _ static int dissect_ftam_AE_qualifier(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 81 "ftam.cnf" +#line 86 "ftam.cnf" /* XXX have no idea about this one */ @@ -2080,7 +2078,7 @@ dissect_ftam_T_extension_attribute_identifier(gboolean implicit_tag _U_, tvbuff_ static int dissect_ftam_T_extension_attribute(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 70 "ftam.cnf" +#line 75 "ftam.cnf" offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree); @@ -3143,7 +3141,7 @@ static const ber_choice_t File_PDU_choice[] = { static int dissect_ftam_File_PDU(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 95 "ftam.cnf" +#line 100 "ftam.cnf" gint branch_taken; offset = dissect_ber_choice(actx, tree, tvb, offset, @@ -3449,7 +3447,7 @@ static const ber_choice_t Bulk_Data_PDU_choice[] = { static int dissect_ftam_Bulk_Data_PDU(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 106 "ftam.cnf" +#line 111 "ftam.cnf" gint branch_taken; offset = dissect_ber_choice(actx, tree, tvb, offset, @@ -3793,7 +3791,7 @@ dissect_ftam_T_attribute_extension_attribute_identifier(gboolean implicit_tag _U static int dissect_ftam_T_extension_attribute_Pattern(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 76 "ftam.cnf" +#line 81 "ftam.cnf" offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree); @@ -4713,7 +4711,7 @@ static const ber_choice_t FSM_PDU_choice[] = { static int dissect_ftam_FSM_PDU(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 117 "ftam.cnf" +#line 122 "ftam.cnf" gint branch_taken; offset = dissect_ber_choice(actx, tree, tvb, offset, @@ -4758,36 +4756,6 @@ dissect_ftam_PDU(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, a } -static const ber_sequence_t F_CHECK_request_sequence[] = { - { &hf_ftam_checkpoint_identifier, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_ftam_INTEGER }, - { &hf_ftam_transfer_number, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_ftam_INTEGER }, - { NULL, 0, 0, 0, NULL } -}; - -static int -dissect_ftam_F_CHECK_request(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { - offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, - F_CHECK_request_sequence, hf_index, ett_ftam_F_CHECK_request); - - return offset; -} - - -static const ber_sequence_t F_CHECK_response_sequence[] = { - { &hf_ftam_checkpoint_identifier, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_ftam_INTEGER }, - { &hf_ftam_transfer_number, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_ftam_INTEGER }, - { NULL, 0, 0, 0, NULL } -}; - -static int -dissect_ftam_F_CHECK_response(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { - offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, - F_CHECK_response_sequence, hf_index, ett_ftam_F_CHECK_response); - - return offset; -} - - static int dissect_ftam_Other_Pattern(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { @@ -6587,8 +6555,6 @@ void proto_register_ftam(void) { &ett_ftam_F_TRANSFER_END_response, &ett_ftam_F_CANCEL_request, &ett_ftam_F_CANCEL_response, - &ett_ftam_F_CHECK_request, - &ett_ftam_F_CHECK_response, &ett_ftam_F_RESTART_request, &ett_ftam_F_RESTART_response, &ett_ftam_Access_Context_U, |