ntdll: Avoid TRUE:FALSE conditional expressions.
This commit is contained in:
parent
7a28ce245d
commit
acf22e83f6
|
@ -659,7 +659,7 @@ NTSTATUS WINAPI NtCreateTimer(OUT HANDLE *handle,
|
||||||
req->access = access;
|
req->access = access;
|
||||||
req->attributes = (attr) ? attr->Attributes : 0;
|
req->attributes = (attr) ? attr->Attributes : 0;
|
||||||
req->rootdir = wine_server_obj_handle( attr ? attr->RootDirectory : 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 );
|
if (len) wine_server_add_data( req, attr->ObjectName->Buffer, len );
|
||||||
status = wine_server_call( req );
|
status = wine_server_call( req );
|
||||||
*handle = wine_server_ptr_handle( reply->handle );
|
*handle = wine_server_ptr_handle( reply->handle );
|
||||||
|
|
Loading…
Reference in New Issue