Fixed uninitialized data warning.

This commit is contained in:
Armin Novak 2014-11-17 00:05:12 +01:00
parent 9e5be6f7e8
commit bde7b156a8

View File

@ -117,6 +117,7 @@ BOOL rdp_read_share_control_header(wStream* s, UINT16* length, UINT16* type, UIN
if (*length == 0x8000)
{
rdp_read_flow_control_pdu(s, type);
*channel_id = 0;
*length = 8; /* Flow control PDU is 8 bytes */
return TRUE;
}