winapi: Remove some dead code.

This commit is contained in:
Francois Gouget 2009-04-20 15:08:33 +02:00 committed by Alexandre Julliard
parent 55cd3433ac
commit 9bdde98ab6
3 changed files with 2 additions and 14 deletions

View file

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

View file

@ -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];
}

View file

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