From 5b12d3d2e7d82bc07c1c1c96229ed0cd71a6a967 Mon Sep 17 00:00:00 2001 From: John Thacker Date: Wed, 3 Jul 2024 07:58:04 -0400 Subject: [PATCH] pidl: Wireshark: Remove init of proto variables Pick up change from Wireshark: commit 10b046cbdd110dbae8f4cab048e5954bf6955402 Author: John Thacker 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 Reviewed-by: Jo Sutton Reviewed-by: Stefan Metzmacher --- pidl/lib/Parse/Pidl/Wireshark/NDR.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pidl/lib/Parse/Pidl/Wireshark/NDR.pm b/pidl/lib/Parse/Pidl/Wireshark/NDR.pm index 1f67b9bda0e..fef98db8abd 100644 --- a/pidl/lib/Parse/Pidl/Wireshark/NDR.pm +++ b/pidl/lib/Parse/Pidl/Wireshark/NDR.pm @@ -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, ""); -- 2.47.3