user: Remove duplicate code.

This commit is contained in:
Vitaliy Margolen 2006-01-30 14:56:25 +01:00 committed by Alexandre Julliard
parent 6c64b74a7c
commit 70fcfa755c

View File

@ -142,12 +142,6 @@ static HHOOK set_windows_hook( INT id, HOOKPROC proc, HINSTANCE inst, DWORD tid,
return 0; return 0;
} }
if (!proc)
{
SetLastError( ERROR_INVALID_FILTER_PROC );
return 0;
}
/* FIXME: what if the tid belongs to another process? */ /* FIXME: what if the tid belongs to another process? */
if (tid) /* thread-local hook */ if (tid) /* thread-local hook */
{ {