summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build')
-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";
}