mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
pidl Parse::Pidl::NDR: silence two warnings about undefined strings
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
3c90c9de6f
commit
51a11afecf
@ -117,7 +117,7 @@ sub GetElementLevelTable($$$)
|
||||
warning($e, "[out] argument `$e->{NAME}' not a pointer") if ($needptrs > $e->{POINTERS});
|
||||
}
|
||||
|
||||
my $allow_pipe = ($e->{PARENT}->{TYPE} eq "FUNCTION");
|
||||
my $allow_pipe = (($e->{PARENT}->{TYPE} // '') eq "FUNCTION");
|
||||
my $is_pipe = typeIs($e->{TYPE}, "PIPE");
|
||||
|
||||
if ($is_pipe) {
|
||||
@ -910,7 +910,7 @@ sub ParseInterface($)
|
||||
|
||||
return {
|
||||
NAME => $idl->{NAME},
|
||||
UUID => lc(has_property($idl, "uuid")),
|
||||
UUID => lc(has_property($idl, "uuid") // ''),
|
||||
VERSION => $version,
|
||||
TYPE => "INTERFACE",
|
||||
PROPERTIES => $idl->{PROPERTIES},
|
||||
|
Loading…
Reference in New Issue
Block a user