ntdll: Remove an unnecessary NULL check.

This commit is contained in:
Jeff Latimer 2007-01-02 16:25:30 +11:00 committed by Alexandre Julliard
parent b9910cb36d
commit 588a350f6d
1 changed files with 2 additions and 2 deletions

View File

@ -2212,8 +2212,8 @@ NTSTATUS WINAPI NtCreateMailslotFile(PHANDLE pHandle, ULONG DesiredAccess,
SERVER_START_REQ( create_mailslot )
{
req->access = DesiredAccess;
req->attributes = (attr) ? attr->Attributes : 0;
req->rootdir = attr ? attr->RootDirectory : 0;
req->attributes = attr->Attributes;
req->rootdir = attr->RootDirectory;
req->max_msgsize = MaxMessageSize;
req->read_timeout = (TimeOut->QuadPart <= 0) ? TimeOut->QuadPart / -10000 : -1;
wine_server_add_data( req, attr->ObjectName->Buffer,