Vitaliy Margolen : user: Remove duplicate code.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jan 30 08:04:09 CST 2006
Module: wine
Branch: refs/heads/master
Commit: 70fcfa755c81405ecb2ca1a11fddb32f4c953d0b
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=70fcfa755c81405ecb2ca1a11fddb32f4c953d0b
Author: Vitaliy Margolen <wine-patch at 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 */
{
More information about the wine-cvs
mailing list