winapi: Remove some dead code.
This commit is contained in:
parent
55cd3433ac
commit
9bdde98ab6
|
@ -1873,10 +1873,6 @@ sub parse_c_typedef($$$$) {
|
|||
|
||||
&$$found_type($type);
|
||||
}
|
||||
|
||||
if (0 && $_ && !/^,/) {
|
||||
$self->_parse_c_error($_, $line, $column, "typedef");
|
||||
}
|
||||
} else {
|
||||
$self->_parse_c_error($_, $line, $column, "typedef");
|
||||
}
|
||||
|
|
|
@ -315,13 +315,7 @@ sub parse_spec_file($$) {
|
|||
if ($internal_name =~ /^(.*?)\.(.*?)$/) {
|
||||
my $forward_module = lc($1);
|
||||
my $forward_name = $2;
|
||||
|
||||
if (0) {
|
||||
$calling_convention .= " -forward";
|
||||
} else {
|
||||
$calling_convention = "forward";
|
||||
}
|
||||
|
||||
$calling_convention = "forward";
|
||||
$$function_forward{$module}{$external_name} = [$forward_module, $forward_name];
|
||||
}
|
||||
|
||||
|
|
|
@ -180,9 +180,7 @@ sub _find_align_kind_size($) {
|
|||
my $align;
|
||||
my $kind;
|
||||
my $size;
|
||||
if (0) {
|
||||
# Nothing
|
||||
} elsif (/\*+$/) {
|
||||
if (/\*+$/) {
|
||||
$align = 4;
|
||||
$kind = "pointer";
|
||||
$size = 4;
|
||||
|
|
Loading…
Reference in New Issue