user: Remove duplicate code.
Vitaliy Margolen
wine-patch at kievinfo.com
Fri Jan 27 16:01:28 CST 2006
ChangeLog:
user: Remove duplicate code.
dlls/user/hook.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
-------------- next part --------------
3283f4e04393793ce8ff054e361bab3fdab52666
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 */
{
More information about the wine-patches
mailing list