[ntdll][3/3] Fix returncode for NtDeleteKey (with test)

Alexandre Julliard julliard at winehq.org
Thu Jul 6 03:56:30 CDT 2006


Paul Vriens <Paul.Vriens at xs4all.nl> writes:

> On Thu, 2006-07-06 at 10:35 +0200, Alexandre Julliard wrote:
>> The server needs to check the handle anyway, there's no reason to do
>> the check twice.
>> 
> Why twice? I return right after the NULL check.

For a NULL handle yes, but that's the should-never-happen case. The
normal case is a valid handle, and then you are checking it twice.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list