Fix an 'uninitialized value' warning.

This commit is contained in:
Francois Gouget 2004-10-07 02:59:59 +00:00 committed by Alexandre Julliard
parent 0f313d0d5d
commit 00033eab75
1 changed files with 1 additions and 1 deletions

View File

@ -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";