mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
Replaced memset/ZeroMemory with initializer
* Addes WINPR_ASSERT on many occations * Replaced memset with array initializer * Replaced ZeroMemory with array initializer
This commit is contained in:
committed by
Pascal Nowack
parent
57d2a27980
commit
43c5289928
@@ -356,6 +356,8 @@ static void ios_client_free(freerdp *instance, rdpContext *context)
|
||||
|
||||
static int RdpClientEntry(RDP_CLIENT_ENTRY_POINTS *pEntryPoints)
|
||||
{
|
||||
WINPR_ASSERT(pEntryPoints);
|
||||
|
||||
ZeroMemory(pEntryPoints, sizeof(RDP_CLIENT_ENTRY_POINTS));
|
||||
pEntryPoints->Version = RDP_CLIENT_INTERFACE_VERSION;
|
||||
pEntryPoints->Size = sizeof(RDP_CLIENT_ENTRY_POINTS_V1);
|
||||
|
||||
Reference in New Issue
Block a user