1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-25 17:57:42 +03:00

r26257: Get rid of "uninitialized value" warning in the samba3 pidl generator.

Jelmer, please check.

Guenther
(This used to be commit 2f693292882f2929ff5d23e4009dabbb0443f891)
This commit is contained in:
Günther Deschner 2007-12-03 17:00:10 +01:00 committed by Stefan Metzmacher
parent ef792cc8a5
commit 133ee7014c

View File

@ -47,7 +47,7 @@ sub ParseFunction($$$)
$defargs .= ", " . DeclLong($_); $defargs .= ", " . DeclLong($_);
} }
if ($fn->{RETURN_TYPE} eq "WERROR") { if (defined($fn->{RETURN_TYPE}) && ($fn->{RETURN_TYPE} eq "WERROR")) {
$defargs .= ", WERROR *werror"; $defargs .= ", WERROR *werror";
} }