git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0726b29
)
pidl:Samba4/NDR/Parser: fix compiler warnings in 'pipe' related code
author
Stefan Metzmacher
<metze@samba.org>
Fri, 11 Mar 2011 08:00:13 +0000
(09:00 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 11 Mar 2011 10:02:22 +0000
(11:02 +0100)
metze
pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
patch
|
blob
|
history
diff --git
a/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
b/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
index f84610d6c81d796287cdc3a11d1cf2dc67b41918..7cda2729fcef626a134a49072ef4c561c26c233e 100644
(file)
--- a/
pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
+++ b/
pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
@@
-2466,7
+2466,7
@@
sub ParseGeneratePipeArray($$$)
$self->deindent;
$self->pidl("},");
}
- $self->pidl("{ NULL, NULL, 0, NULL, NULL, NULL
, NULL
}");
+ $self->pidl("{ NULL, NULL, 0, NULL, NULL, NULL }");
$self->deindent;
$self->pidl("};");
$self->pidl("");
@@
-2523,11
+2523,11
@@
sub FunctionCallEntry($$)
my $out_pipes_ptr = "NULL";
if ($in_pipes) {
- $in_pipes_ptr = "
\&
$d->{NAME}_in_pipes";
+ $in_pipes_ptr = "$d->{NAME}_in_pipes";
}
if ($out_pipes) {
- $out_pipes_ptr = "
\&
$d->{NAME}_out_pipes";
+ $out_pipes_ptr = "$d->{NAME}_out_pipes";
}
$self->pidl("\t{");