Fix an 'uninitialized value' warning.
This commit is contained in:
parent
0f313d0d5d
commit
00033eab75
|
@ -119,7 +119,7 @@ sub _check_function {
|
|||
} elsif($calling_convention =~ /^VFWAPIV|WINAPIV$/) {
|
||||
$implemented_calling_convention = "varargs";
|
||||
} elsif($calling_convention =~ /^__stdcall|VFWAPI|WINAPI|CALLBACK$/) {
|
||||
if($implemented_return_kind =~ /^s_word|word|void$/) {
|
||||
if(defined($implemented_return_kind) && $implemented_return_kind =~ /^s_word|word|void$/) {
|
||||
$implemented_calling_convention = "pascal16";
|
||||
} else {
|
||||
$implemented_calling_convention = "pascal";
|
||||
|
|
Loading…
Reference in New Issue