=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: ntdll: Avoid TRUE: FALSE conditional expressions.
Alexandre Julliard
julliard at winehq.org
Mon Jan 13 12:46:31 CST 2014
Module: wine
Branch: master
Commit: acf22e83f6f80b317a9ae86d3c5f45ce9fdac85f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=acf22e83f6f80b317a9ae86d3c5f45ce9fdac85f
Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date: Sun Jan 12 10:48:16 2014 +0100
ntdll: Avoid TRUE:FALSE conditional expressions.
---
dlls/ntdll/sync.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ntdll/sync.c b/dlls/ntdll/sync.c
index c94d9c4..4a57791 100644
--- a/dlls/ntdll/sync.c
+++ b/dlls/ntdll/sync.c
@@ -659,7 +659,7 @@ NTSTATUS WINAPI NtCreateTimer(OUT HANDLE *handle,
req->access = access;
req->attributes = (attr) ? attr->Attributes : 0;
req->rootdir = wine_server_obj_handle( attr ? attr->RootDirectory : 0 );
- req->manual = (timer_type == NotificationTimer) ? TRUE : FALSE;
+ req->manual = (timer_type == NotificationTimer);
if (len) wine_server_add_data( req, attr->ObjectName->Buffer, len );
status = wine_server_call( req );
*handle = wine_server_ptr_handle( reply->handle );
More information about the wine-cvs
mailing list