mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[CSRSRV] CsrApiHandleConnectionRequest(): Remove ASSERT() redundant condition (#2858)
Detected by Cppcheck: redundantCondition.
Addendum to 835f3ef1
.
This commit is contained in:
parent
abc84a742b
commit
63007901fd
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ CsrApiHandleConnectionRequest(IN PCSR_API_MESSAGE ApiMessage)
|
|||
ConnectInfo->ServerProcessId = NtCurrentTeb()->ClientId.UniqueProcess;
|
||||
|
||||
/* Accept the Connection */
|
||||
ASSERT(!AllowConnection || (AllowConnection && CsrProcess));
|
||||
ASSERT(!AllowConnection || CsrProcess);
|
||||
Status = NtAcceptConnectPort(&ServerPort,
|
||||
AllowConnection ? UlongToPtr(CsrProcess->SequenceNumber) : 0,
|
||||
&ApiMessage->Header,
|
||||
|
|
Loading…
Reference in a new issue