From 4f04a3cc312014221dab8f679d9984ea0d1c0c29 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 29 Oct 2015 08:32:52 +0100 Subject: [PATCH] tools/pidl: avoid trailing tabs Change-Id: I293dd6f2d7ff3b0e27bc3cc49e69977604f12260 Signed-off-by: Stefan Metzmacher Reviewed-on: https://code.wireshark.org/review/11433 Reviewed-by: Anders Broman --- tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm b/tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm index bd4c79d3e2..2351b2a256 100644 --- a/tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm +++ b/tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm @@ -743,8 +743,11 @@ sub Struct($$$$) } $self->deindent; $self->pidl_code("}"); + $self->pidl_code(""); - $self->pidl_code("\n$res"); + $self->deindent; + $self->pidl_code("$res"); + $self->indent; $self->pidl_code("proto_item_set_len(item, offset-old_offset);\n"); if (defined($doalign) and $doalign == 1) {