From 38e8feb4131fe82b6e58dd9ed099c991f7c2864b Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Mon, 17 May 2004 11:48:39 +0000 Subject: r757: Handle empty union arms (ala rid only entries in netlogon). (This used to be commit f7b23156681f12805f0c7f242f0c436d102023f4) --- source4/build/pidl/dump.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/build/pidl/dump.pm b/source4/build/pidl/dump.pm index cf5ec37bda..c186999b21 100644 --- a/source4/build/pidl/dump.pm +++ b/source4/build/pidl/dump.pm @@ -89,7 +89,7 @@ sub DumpUnionElement($) $res .= "[default] ;\n"; } else { $res .= "[case($element->{CASE})] "; - $res .= DumpElement($element->{DATA}); + $res .= DumpElement($element->{DATA}), if defined($element->{DATA}); $res .= ";\n"; } -- cgit