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:
parent
ef792cc8a5
commit
133ee7014c
@ -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";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user