diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2023-06-22 14:42:09 +0200 |
---|---|---|
committer | AndersBroman <a.broman58@gmail.com> | 2023-11-02 22:56:41 +0000 |
commit | 2cac1ca9e0a937993d3784ba84c671d4792a0a47 (patch) | |
tree | c39a2bbc26a461622c835e9fff920c5f5d96233d /epan/dissectors/asn1/disp/packet-disp-template.c | |
parent | 660cefa708d078f48f9e82a79dfe5e0e95d812bf (diff) |
asn2wrs: Update to not initialize static proto values
Diffstat (limited to 'epan/dissectors/asn1/disp/packet-disp-template.c')
-rw-r--r-- | epan/dissectors/asn1/disp/packet-disp-template.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/asn1/disp/packet-disp-template.c b/epan/dissectors/asn1/disp/packet-disp-template.c index 9f221558ef..156d5e8c42 100644 --- a/epan/dissectors/asn1/disp/packet-disp-template.c +++ b/epan/dissectors/asn1/disp/packet-disp-template.c @@ -43,18 +43,18 @@ void proto_register_disp(void); void proto_reg_handoff_disp(void); /* Initialize the protocol and registered fields */ -static int proto_disp = -1; +static int proto_disp; #include "packet-disp-hf.c" /* Initialize the subtree pointers */ -static gint ett_disp = -1; +static gint ett_disp; #include "packet-disp-ett.c" -static expert_field ei_disp_unsupported_opcode = EI_INIT; -static expert_field ei_disp_unsupported_errcode = EI_INIT; -static expert_field ei_disp_unsupported_pdu = EI_INIT; -static expert_field ei_disp_zero_pdu = EI_INIT; +static expert_field ei_disp_unsupported_opcode; +static expert_field ei_disp_unsupported_errcode; +static expert_field ei_disp_unsupported_pdu; +static expert_field ei_disp_zero_pdu; static dissector_handle_t disp_handle = NULL; |