Module: wine Branch: master Commit: 906c963947b7fdb9ba2519fd814710aa49f4e283 URL: http://source.winehq.org/git/wine.git/?a=commit;h=906c963947b7fdb9ba2519fd81...
Author: Michael Stefaniuc mstefani@redhat.de Date: Tue Dec 29 01:16:26 2009 +0100
winapi: Remove the special handling of GDI_AllocObject().
That function doesn't exist anymore in Wine.
---
tools/winapi/make_parser.pm | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/tools/winapi/make_parser.pm b/tools/winapi/make_parser.pm index 885f77a..773c5f3 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$/) {