Module: wine Branch: refs/heads/master Commit: 70fcfa755c81405ecb2ca1a11fddb32f4c953d0b URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=70fcfa755c81405ecb2ca1a1...
Author: Vitaliy Margolen wine-patch@kievinfo.com Date: Mon Jan 30 14:56:25 2006 +0100
user: Remove duplicate code.
---
dlls/user/hook.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/dlls/user/hook.c b/dlls/user/hook.c index 2533347..b871615 100644 --- a/dlls/user/hook.c +++ b/dlls/user/hook.c @@ -142,12 +142,6 @@ static HHOOK set_windows_hook( INT id, H 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 */ {