mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
user: Remove duplicate code.
This commit is contained in:
parent
6c64b74a7c
commit
70fcfa755c
@ -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 */
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user