diff options
author | Gary Lockyer <gary@catalyst.net.nz> | 2020-05-05 13:47:39 +1200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2020-05-08 09:31:31 +0000 |
commit | 13a2f70a4dd6dd68e0dbd0379d35409c5f100f06 (patch) | |
tree | 779d7945079d77c30ec21c26920e1e5f4b9c5ecd /pidl | |
parent | c2b0071460c09eb24d12880e54e2f80c77834ebb (diff) | |
download | samba-13a2f70a4dd6dd68e0dbd0379d35409c5f100f06.tar.gz |
Fix clang 9 missing-field-initializer warnings
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'pidl')
-rw-r--r-- | pidl/lib/Parse/Pidl/Samba4/Python.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pidl/lib/Parse/Pidl/Samba4/Python.pm b/pidl/lib/Parse/Pidl/Samba4/Python.pm index e72d32db391..344f48987d1 100644 --- a/pidl/lib/Parse/Pidl/Samba4/Python.pm +++ b/pidl/lib/Parse/Pidl/Samba4/Python.pm @@ -1419,7 +1419,7 @@ sub Interface($$$) my ($infn, $outfn, $callfn, $prettyname, $docstring, $opnum) = @$d; $self->pidl("{ \"$prettyname\", $docstring, (py_dcerpc_call_fn)$callfn, (py_data_pack_fn)$infn, (py_data_unpack_fn)$outfn, $opnum, &ndr_table_$interface->{NAME} },"); } - $self->pidl("{ NULL }"); + $self->pidl("{0}"); $self->deindent; $self->pidl("};"); $self->pidl(""); |