1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

pidl: Wireshark: Remove init of proto variables

Pick up change from Wireshark:

    commit 10b046cbdd110dbae8f4cab048e5954bf6955402
    Author: John Thacker <johnthacker@gmail.com>
    Date:   Sat Jun 22 20:31:40 2024 -0400

        pidl: Remove init of proto variables

        Remove initialization of proto variables from pidl generated dissectors
        and regenerate.
        Follow up to 2a9bc63325c99653c5da873c273430add3b5e9dd

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:
John Thacker 2024-07-03 07:58:04 -04:00 committed by Stefan Metzmacher
parent 00f5772874
commit 5b12d3d2e7

View File

@ -1009,7 +1009,7 @@ sub ProcessInterface($$)
$self->pidl_hdr("#define $define");
$self->pidl_hdr("");
$self->pidl_def("static int proto_dcerpc_$x->{NAME} = -1;");
$self->pidl_def("static int proto_dcerpc_$x->{NAME};");
$self->register_ett("ett_dcerpc_$x->{NAME}");
$self->register_hf_field("hf_$x->{NAME}_opnum", "Operation", "$x->{NAME}.opnum", "FT_UINT16", "BASE_DEC", "NULL", 0, "");