diff options
author | Günther Deschner <gd@samba.org> | 2007-12-03 17:00:10 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:47:31 +0100 |
commit | 133ee7014caecbe2236fa5bf2292a5f8c71e58ef (patch) | |
tree | 88d7aecc5ea962fbae72a89f5a2b022664f7e85f /source4/pidl/lib | |
parent | ef792cc8a54d99d8c32251fbae9e2178f5838576 (diff) | |
download | samba-133ee7014caecbe2236fa5bf2292a5f8c71e58ef.tar.gz samba-133ee7014caecbe2236fa5bf2292a5f8c71e58ef.tar.bz2 samba-133ee7014caecbe2236fa5bf2292a5f8c71e58ef.zip |
r26257: Get rid of "uninitialized value" warning in the samba3 pidl generator.
Jelmer, please check.
Guenther
(This used to be commit 2f693292882f2929ff5d23e4009dabbb0443f891)
Diffstat (limited to 'source4/pidl/lib')
-rw-r--r-- | source4/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm b/source4/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm index d77a166445..e174f77542 100644 --- a/source4/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm +++ b/source4/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm @@ -47,7 +47,7 @@ sub ParseFunction($$$) $defargs .= ", " . DeclLong($_); } - if ($fn->{RETURN_TYPE} eq "WERROR") { + if (defined($fn->{RETURN_TYPE}) && ($fn->{RETURN_TYPE} eq "WERROR")) { $defargs .= ", WERROR *werror"; } |