forked from osmocom/wireshark
TCAP: Fix dissect_tcap_ERROR() unused warning [-Wunused-function]
Change-Id: I0d9511ed9cb93446766d510b97fdefe56a86a826 Reviewed-on: https://code.wireshark.org/review/13787 Petri-Dish: João Valverde <j@v6e.pt> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
parent
c59f6ccd31
commit
a86e210722
2 changed files with 1 additions and 19 deletions
|
@ -6,6 +6,7 @@ RLRQ-apdu
|
|||
RLRE-apdu
|
||||
Release-request-reason
|
||||
Release-response-reason
|
||||
ERROR
|
||||
#.END
|
||||
|
||||
#.MODULE_IMPORT
|
||||
|
@ -23,7 +24,6 @@ UniDialoguePDU B "0.0.17.773.1.2.1" "id-as-uniDialogue"
|
|||
|
||||
#.NO_EMIT ONLY_VALS
|
||||
TCMessage
|
||||
ERROR
|
||||
|
||||
#.NO_EMIT
|
||||
|
||||
|
|
|
@ -173,7 +173,6 @@ static gint ett_tcap_Reject = -1;
|
|||
static gint ett_tcap_T_invokeIDRej = -1;
|
||||
static gint ett_tcap_T_problem = -1;
|
||||
static gint ett_tcap_OPERATION = -1;
|
||||
static gint ett_tcap_ERROR = -1;
|
||||
static gint ett_tcap_ErrorCode = -1;
|
||||
static gint ett_tcap_UniDialoguePDU = -1;
|
||||
static gint ett_tcap_AUDT_apdu_U = -1;
|
||||
|
@ -1002,22 +1001,6 @@ dissect_tcap_TCMessage(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset
|
|||
}
|
||||
|
||||
|
||||
static const ber_choice_t ERROR_choice[] = {
|
||||
{ 0, &hf_tcap_localValue , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_tcap_INTEGER },
|
||||
{ 1, &hf_tcap_globalValue , BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_tcap_OBJECT_IDENTIFIER },
|
||||
{ 0, NULL, 0, 0, 0, NULL }
|
||||
};
|
||||
|
||||
static int
|
||||
dissect_tcap_ERROR(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_choice(actx, tree, tvb, offset,
|
||||
ERROR_choice, hf_index, ett_tcap_ERROR,
|
||||
NULL);
|
||||
|
||||
return offset;
|
||||
}
|
||||
|
||||
|
||||
static const asn_namedbit AUDT_protocol_version_bits[] = {
|
||||
{ 0, &hf_tcap_AUDT_protocol_version_version1, -1, -1, "version1", NULL },
|
||||
{ 0, NULL, 0, 0, NULL, NULL }
|
||||
|
@ -3716,7 +3699,6 @@ proto_register_tcap(void)
|
|||
&ett_tcap_T_invokeIDRej,
|
||||
&ett_tcap_T_problem,
|
||||
&ett_tcap_OPERATION,
|
||||
&ett_tcap_ERROR,
|
||||
&ett_tcap_ErrorCode,
|
||||
&ett_tcap_UniDialoguePDU,
|
||||
&ett_tcap_AUDT_apdu_U,
|
||||
|
|
Loading…
Reference in a new issue