winapi: Remove the special handling of GDI_AllocObject().

That function doesn't exist anymore in Wine.
This commit is contained in:
Michael Stefaniuc 2009-12-29 01:16:26 +01:00 committed by Alexandre Julliard
parent e5574369dd
commit 906c963947
1 changed files with 1 additions and 7 deletions

View File

@ -347,13 +347,7 @@ sub gcc_output($$) {
} elsif(/^ordered comparison of pointer with integer zero$/) { } elsif(/^ordered comparison of pointer with integer zero$/) {
$suppress = 0; $suppress = 0;
} elsif(/^passing arg (\d+) of (?:pointer to function|\`(\S+)\') from incompatible pointer type$/) { } elsif(/^passing arg (\d+) of (?:pointer to function|\`(\S+)\') from incompatible pointer type$/) {
my $arg = $1; $suppress = 0;
my $name = $2;
if(defined($name) && $name =~ /^GDI_AllocObject$/) {
$suppress = 1;
} else {
$suppress = 0;
}
} elsif(/^passing arg (\d+) of (?:pointer to function|\`(\S+)\') makes integer from pointer without a cast$/) { } elsif(/^passing arg (\d+) of (?:pointer to function|\`(\S+)\') makes integer from pointer without a cast$/) {
$suppress = 0; $suppress = 0;
} elsif(/^passing arg (\d+) of (?:pointer to function|\`(\S+)\') makes pointer from integer without a cast$/) { } elsif(/^passing arg (\d+) of (?:pointer to function|\`(\S+)\') makes pointer from integer without a cast$/) {