1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

pidl:NDR: [in,out,string] doesn't need to pointers

metze
This commit is contained in:
Stefan Metzmacher 2010-08-25 11:02:52 +02:00
parent aa3b75ad1f
commit 94faf0ccbe

View File

@ -104,7 +104,7 @@ sub GetElementLevelTable($$)
if (has_property($e, "out")) {
my $needptrs = 1;
if (has_property($e, "string")) { $needptrs++; }
if (has_property($e, "string") and not has_property($e, "in")) { $needptrs++; }
if ($#bracket_array >= 0) { $needptrs = 0; }
warning($e, "[out] argument `$e->{NAME}' not a pointer") if ($needptrs > $e->{POINTERS});