widl: The implicit_handle attribute is allowed with a handle explicitly specified...
authorRob Shearman <rob@codeweavers.com>
Sun, 20 Apr 2008 21:15:24 +0000 (22:15 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 21 Apr 2008 11:36:19 +0000 (13:36 +0200)
commitc4ca32bbdafb87a01ca6047ca033bde32859f8de
treef82e6b5e6b3fe2142dcf714bf4e4ff3754d21a40
parent15612e60fd20138baa0fe20c24ff3f2c447ad40f
widl: The implicit_handle attribute is allowed with a handle explicitly specified in the function parameters.

In that case, that handle is used instead of the implicit handle.

Fix the check for the explicit_handle attribute being specified without
a handle being specified in the function parameters, even though issuing
an error is wrong. (Thanks to Marcus Meissner & Coverity for spotting
that the check didn't do what it was supposed to do.)
tools/widl/client.c
tools/widl/header.c
tools/widl/server.c