From 906c963947b7fdb9ba2519fd814710aa49f4e283 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Tue, 29 Dec 2009 01:16:26 +0100 Subject: [PATCH] winapi: Remove the special handling of GDI_AllocObject(). That function doesn't exist anymore in Wine. --- tools/winapi/make_parser.pm | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/tools/winapi/make_parser.pm b/tools/winapi/make_parser.pm index 885f77a65f2..773c5f30fde 100644 --- a/tools/winapi/make_parser.pm +++ b/tools/winapi/make_parser.pm @@ -347,13 +347,7 @@ sub gcc_output($$) { } elsif(/^ordered comparison of pointer with integer zero$/) { $suppress = 0; } elsif(/^passing arg (\d+) of (?:pointer to function|\`(\S+)\') from incompatible pointer type$/) { - my $arg = $1; - my $name = $2; - if(defined($name) && $name =~ /^GDI_AllocObject$/) { - $suppress = 1; - } else { - $suppress = 0; - } + $suppress = 0; } elsif(/^passing arg (\d+) of (?:pointer to function|\`(\S+)\') makes integer from pointer without a cast$/) { $suppress = 0; } elsif(/^passing arg (\d+) of (?:pointer to function|\`(\S+)\') makes pointer from integer without a cast$/) {