Try to clarify the 'no translation defined' error.
Remove an unused variable.
This commit is contained in:
parent
ae8c0ab55b
commit
3a868e0690
|
@ -131,7 +131,7 @@ sub fixup_documentation($$) {
|
||||||
my $type = $_;
|
my $type = $_;
|
||||||
my $kind;
|
my $kind;
|
||||||
if($type ne "..." && !defined($kind = $winapi->translate_argument($type))) {
|
if($type ne "..." && !defined($kind = $winapi->translate_argument($type))) {
|
||||||
$output->write("no translation defined: " . $type . "\n");
|
$output->write("no win*.api translation defined: " . $type . "\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
# FIXME: Kludge
|
# FIXME: Kludge
|
||||||
|
|
|
@ -329,7 +329,6 @@ sub complete_modules($$) {
|
||||||
sub global_report($) {
|
sub global_report($) {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
|
||||||
my $dir2spec_file = \%{$self->{DIR2SPEC_FILE}};
|
|
||||||
my $module2spec_file = \%{$self->{MODULE2SPEC_FILE}};
|
my $module2spec_file = \%{$self->{MODULE2SPEC_FILE}};
|
||||||
my $used_module_dirs = \%{$self->{USED_MODULE_DIRS}};
|
my $used_module_dirs = \%{$self->{USED_MODULE_DIRS}};
|
||||||
|
|
||||||
|
|
|
@ -61,7 +61,7 @@ sub _check_function($$$$$$) {
|
||||||
if(!defined($implemented_return_kind = $winapi->translate_argument($return_type))) {
|
if(!defined($implemented_return_kind = $winapi->translate_argument($return_type))) {
|
||||||
$winapi->declare_argument($return_type, "unknown");
|
$winapi->declare_argument($return_type, "unknown");
|
||||||
if($return_type ne "") {
|
if($return_type ne "") {
|
||||||
$output->write("no translation defined: " . $return_type . "\n");
|
$output->write("no win*.api translation defined: " . $return_type . "\n");
|
||||||
}
|
}
|
||||||
} elsif(!$winapi->is_allowed_kind($implemented_return_kind) ||
|
} elsif(!$winapi->is_allowed_kind($implemented_return_kind) ||
|
||||||
!$winapi->is_allowed_type_in_module($return_type, $module))
|
!$winapi->is_allowed_type_in_module($return_type, $module))
|
||||||
|
@ -182,7 +182,7 @@ sub _check_function($$$$$$) {
|
||||||
$kind = "context86";
|
$kind = "context86";
|
||||||
} elsif(!defined($kind = $winapi->translate_argument($type))) {
|
} elsif(!defined($kind = $winapi->translate_argument($type))) {
|
||||||
$winapi->declare_argument($type, "unknown");
|
$winapi->declare_argument($type, "unknown");
|
||||||
$output->write("no translation defined: " . $type . "\n");
|
$output->write("no win*.api translation defined: " . $type . "\n");
|
||||||
} elsif(!$winapi->is_allowed_kind($kind) ||
|
} elsif(!$winapi->is_allowed_kind($kind) ||
|
||||||
!$winapi->is_allowed_type_in_module($type, $module))
|
!$winapi->is_allowed_type_in_module($type, $module))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue