mirror of
https://github.com/reactos/reactos.git
synced 2026-06-03 09:51:03 +08:00
[CSRSRV] CsrApiHandleConnectionRequest(): Remove ASSERT() redundant condition (#2858)
Detected by Cppcheck: redundantCondition.
Addendum to 835f3ef1.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user