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 /epan/dissectors/packet-dcom-provideclassinfo.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 'epan/dissectors/packet-dcom-provideclassinfo.c')
-rw-r--r-- | epan/dissectors/packet-dcom-provideclassinfo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-dcom-provideclassinfo.c b/epan/dissectors/packet-dcom-provideclassinfo.c index a19130d4b1..8e7ae63750 100644 --- a/epan/dissectors/packet-dcom-provideclassinfo.c +++ b/epan/dissectors/packet-dcom-provideclassinfo.c @@ -21,13 +21,13 @@ void proto_register_dcom_provideclassinfo(void); void proto_reg_handoff_dcom_provideclassinfo(void); -static int hf_provideclassinfo_opnum = -1; -static int hf_typeinfo = -1; +static int hf_provideclassinfo_opnum; +static int hf_typeinfo; static e_guid_t uuid_provideclassinfo = { 0xb196b283, 0xbab4, 0x101a, { 0xB6, 0x9C, 0x00, 0xAA, 0x00, 0x34, 0x1D, 0x07} }; static guint16 ver_provideclassinfo = 0; -static gint ett_provideclassinfo = -1; -static int proto_provideclassinfo = -1; +static gint ett_provideclassinfo; +static int proto_provideclassinfo; static int dissect_IProvideClassInfo_GetClassInfo_rqst(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) |