pidl: Add function for determining whether a type has a body.
[ira/wip.git] / source4 / pidl / lib / Parse / Pidl / NDR.pm
index 80ecec938aad694765229a1ce86737b70a8f7713..1d059ebdf797d8d7c9ab176b11b653c81f230cf4 100644 (file)
@@ -633,7 +633,7 @@ sub FindNestedTypes($$)
        sub FindNestedTypes($$);
        my ($l, $t) = @_;
 
-       return if not defined($t->{ELEMENTS});
+       return unless defined($t->{ELEMENTS});
        return if ($t->{TYPE} eq "ENUM");
        return if ($t->{TYPE} eq "BITMAP");