aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cimetrics.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2023-11-20 08:16:40 +0100
committerStig Bjørlykke <stig@bjorlykke.org>2023-11-20 08:20:54 +0100
commit2a9bc63325c99653c5da873c273430add3b5e9dd (patch)
tree120dee357b44bb38baf6ca9cf592e0cef6e4bea3 /epan/dissectors/packet-cimetrics.c
parente8e16400d8e3f933bd0eb1f06c661557a28e4ed4 (diff)
Remove init of proto variables
Remove init of proto, header field, expert info and subtree variables. This will reduces the binary size by approximate 1266320 bytes due to using .bss to zero-initialize the fields. The conversion is done using the tools/convert-proto-init.py script.
Diffstat (limited to 'epan/dissectors/packet-cimetrics.c')
-rw-r--r--epan/dissectors/packet-cimetrics.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-cimetrics.c b/epan/dissectors/packet-cimetrics.c
index acfe05cdb9..db58784db3 100644
--- a/epan/dissectors/packet-cimetrics.c
+++ b/epan/dissectors/packet-cimetrics.c
@@ -28,12 +28,12 @@ static const value_string cimetrics_pid_vals[] = {
{ 0, NULL }
};
-static int proto_cimetrics_mstp = -1;
-static int hf_llc_cimetrics_pid = -1;
-static gint ett_cimetrics_mstp = -1;
+static int proto_cimetrics_mstp;
+static int hf_llc_cimetrics_pid;
+static gint ett_cimetrics_mstp;
-static int hf_cimetrics_mstp_timer = -1;
-static int hf_cimetrics_mstp_value = -1;
+static int hf_cimetrics_mstp_timer;
+static int hf_cimetrics_mstp_value;
static dissector_handle_t cimetric_handle;