mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
pidl: Wireshark: Remove init of proto variables
Pick up change from Wireshark as it applies to PIDL: commit 2a9bc63325c99653c5da873c273430add3b5e9dd Author: Stig Bjørlykke <stig@bjorlykke.org> Date: Mon Nov 20 08:16:40 2023 +0100 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 Signed-off-by: John Thacker <johnthacker@gmail.com> Reviewed-by: Jo Sutton <josutton@catalyst.net.nz> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
c3ca2a6575
commit
f2ed371e1c
@ -234,7 +234,7 @@ is($x->DumpHfList(), "\tstatic hf_register_info hf[] = {
|
||||
|
||||
is($x->DumpHfDeclaration(), "
|
||||
/* Header field declarations */
|
||||
static gint hf_bla = -1;
|
||||
static gint hf_bla;
|
||||
|
||||
");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user