aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/asn1/p22
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2023-06-22 14:42:09 +0200
committerAndersBroman <a.broman58@gmail.com>2023-11-02 22:56:41 +0000
commit2cac1ca9e0a937993d3784ba84c671d4792a0a47 (patch)
treec39a2bbc26a461622c835e9fff920c5f5d96233d /epan/dissectors/asn1/p22
parent660cefa708d078f48f9e82a79dfe5e0e95d812bf (diff)
asn2wrs: Update to not initialize static proto values
Diffstat (limited to 'epan/dissectors/asn1/p22')
-rw-r--r--epan/dissectors/asn1/p22/packet-p22-template.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/asn1/p22/packet-p22-template.c b/epan/dissectors/asn1/p22/packet-p22-template.c
index f0cf69afbd..af886f7186 100644
--- a/epan/dissectors/asn1/p22/packet-p22-template.c
+++ b/epan/dissectors/asn1/p22/packet-p22-template.c
@@ -32,7 +32,7 @@
#define PFNAME "p22"
/* Initialize the protocol and registered fields */
-static int proto_p22 = -1;
+static int proto_p22;
static const value_string charsetreg_vals [] = {
{ 1, "C0: (ISO/IEC 6429)"},
@@ -68,7 +68,7 @@ static const value_string charsetreg_vals [] = {
#include "packet-p22-hf.c"
/* Initialize the subtree pointers */
-static gint ett_p22 = -1;
+static gint ett_p22;
#include "packet-p22-ett.c"
#include "packet-p22-fn.c"