mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +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
@@ -97,8 +97,7 @@ static UINT remdesk_write_channel_header(wStream* s, REMDESK_CHANNEL_HEADER* hea
|
||||
{
|
||||
int index;
|
||||
UINT32 ChannelNameLen;
|
||||
WCHAR ChannelNameW[32];
|
||||
ZeroMemory(ChannelNameW, sizeof(ChannelNameW));
|
||||
WCHAR ChannelNameW[32] = { 0 };
|
||||
|
||||
for (index = 0; index < 32; index++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user