diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2023-11-20 08:16:40 +0100 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2023-11-20 08:20:54 +0100 |
commit | 2a9bc63325c99653c5da873c273430add3b5e9dd (patch) | |
tree | 120dee357b44bb38baf6ca9cf592e0cef6e4bea3 /plugins/epan/ethercat/packet-nv.c | |
parent | e8e16400d8e3f933bd0eb1f06c661557a28e4ed4 (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 'plugins/epan/ethercat/packet-nv.c')
-rw-r--r-- | plugins/epan/ethercat/packet-nv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/epan/ethercat/packet-nv.c b/plugins/epan/ethercat/packet-nv.c index 141fc25733..8f904c3c22 100644 --- a/plugins/epan/ethercat/packet-nv.c +++ b/plugins/epan/ethercat/packet-nv.c @@ -22,7 +22,7 @@ void proto_register_nv(void); void proto_reg_handoff_nv(void); /* Define the nv proto */ -int proto_nv = -1; +int proto_nv; static dissector_handle_t nv_handle; |