Commit 70fcfa75 authored by Vitaliy Margolen's avatar Vitaliy Margolen Committed by Alexandre Julliard

user: Remove duplicate code.

parent 6c64b74a
......@@ -142,12 +142,6 @@ static HHOOK set_windows_hook( INT id, HOOKPROC proc, HINSTANCE inst, DWORD tid,
return 0;
}
if (!proc)
{
SetLastError( ERROR_INVALID_FILTER_PROC );
return 0;
}
/* FIXME: what if the tid belongs to another process? */
if (tid) /* thread-local hook */
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment