summaryrefslogtreecommitdiff
path: root/source4/build/pidl
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-05-17 11:48:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:53:49 -0500
commit38e8feb4131fe82b6e58dd9ed099c991f7c2864b (patch)
tree5a49a3575caa5410ad41ed7f2e9c155125ac0fd7 /source4/build/pidl
parent67638baabbec4b01af2aaa13be51f30215b1d04c (diff)
downloadsamba-38e8feb4131fe82b6e58dd9ed099c991f7c2864b.tar.gz
samba-38e8feb4131fe82b6e58dd9ed099c991f7c2864b.tar.bz2
samba-38e8feb4131fe82b6e58dd9ed099c991f7c2864b.zip
r757: Handle empty union arms (ala rid only entries in netlogon).
(This used to be commit f7b23156681f12805f0c7f242f0c436d102023f4)
Diffstat (limited to 'source4/build/pidl')
-rw-r--r--source4/build/pidl/dump.pm2
1 files changed, 1 insertions, 1 deletions
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";
}