aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tdmop.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-tdmop.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-tdmop.c')
-rw-r--r--epan/dissectors/packet-tdmop.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/epan/dissectors/packet-tdmop.c b/epan/dissectors/packet-tdmop.c
index 49dd19bbf0..9ffc8323fc 100644
--- a/epan/dissectors/packet-tdmop.c
+++ b/epan/dissectors/packet-tdmop.c
@@ -26,25 +26,25 @@ void proto_reg_handoff_tdmop(void);
static dissector_handle_t tdmop_handle;
-static int proto_tdmop = -1;
-static gint ett_tdmop = -1;
-static gint ett_tdmop_channel = -1;
+static int proto_tdmop;
+static gint ett_tdmop;
+static gint ett_tdmop_channel;
-static int hf_tdmop_TransferID = -1;
-static int hf_tdmop_DstCh = -1;
-static int hf_tdmop_SrcCh = -1;
-static int hf_tdmop_Flags = -1;
-static int hf_tdmop_Flags_no_data = -1;
-static int hf_tdmop_Flags_lost_request = -1;
-static int hf_tdmop_Flags_remote_no_data = -1;
-static int hf_tdmop_Flags_compressed = -1;
-static int hf_tdmop_SrcDst = -1;
-static int hf_tdmop_SeqNum = -1;
-static int hf_tdmop_LastRecv = -1;
-static int hf_tdmop_Delay = -1;
-static int hf_tdmop_Reserved = -1;
-static int hf_tdmop_payload = -1;
-static int hf_tdmop_Compression_mask = -1;
+static int hf_tdmop_TransferID;
+static int hf_tdmop_DstCh;
+static int hf_tdmop_SrcCh;
+static int hf_tdmop_Flags;
+static int hf_tdmop_Flags_no_data;
+static int hf_tdmop_Flags_lost_request;
+static int hf_tdmop_Flags_remote_no_data;
+static int hf_tdmop_Flags_compressed;
+static int hf_tdmop_SrcDst;
+static int hf_tdmop_SeqNum;
+static int hf_tdmop_LastRecv;
+static int hf_tdmop_Delay;
+static int hf_tdmop_Reserved;
+static int hf_tdmop_payload;
+static int hf_tdmop_Compression_mask;
static dissector_handle_t lapd_handle = NULL;