Commit 6c2e14e5 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

ntdll: Remove superflous NULL checks.

parent a6ecf0a7
......@@ -2119,8 +2119,8 @@ NTSTATUS WINAPI NtCreateNamedPipeFile( PHANDLE handle, ULONG access,
SERVER_START_REQ( create_named_pipe )
{
req->access = access;
req->attributes = (attr) ? attr->Attributes : 0;
req->rootdir = attr ? attr->RootDirectory : 0;
req->attributes = attr->Attributes;
req->rootdir = attr->RootDirectory;
req->options = options;
req->flags =
(pipe_type) ? NAMED_PIPE_MESSAGE_STREAM_WRITE : 0 |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment