Fixed compilation warnings.
This commit is contained in:
parent
ab90ddc781
commit
00c083a854
@ -24,6 +24,7 @@
|
||||
#endif
|
||||
|
||||
#include <winpr/crt.h>
|
||||
#include <winpr/assert.h>
|
||||
#include <winpr/print.h>
|
||||
|
||||
#include <freerdp/channels/log.h>
|
||||
@ -1140,7 +1141,7 @@ static DWORD WINAPI encomsp_virtual_channel_client_thread(LPVOID arg)
|
||||
static UINT encomsp_virtual_channel_event_connected(encomspPlugin* encomsp, LPVOID pData,
|
||||
UINT32 dataLength)
|
||||
{
|
||||
UINT32 status;
|
||||
WINPR_ASSERT(encomsp);
|
||||
|
||||
encomsp->queue = MessageQueue_New(NULL);
|
||||
|
||||
|
@ -100,7 +100,7 @@ static INLINE BOOL RLEDECOMPRESS(const BYTE* pbSrcBuffer, UINT32 cbSrcBuffer, BY
|
||||
PIXEL pixelA, pixelB;
|
||||
UINT32 runLength;
|
||||
UINT32 code;
|
||||
UINT32 advance;
|
||||
UINT32 advance = 0;
|
||||
RLEEXTRA
|
||||
|
||||
if ((rowDelta == 0) || (rowDelta < width))
|
||||
|
@ -130,10 +130,8 @@ static INLINE UINT32 ExtractCodeId(BYTE bOrderHdr)
|
||||
static INLINE UINT32 ExtractRunLength(UINT32 code, const BYTE* pbOrderHdr, const BYTE* pbEnd,
|
||||
UINT32* advance)
|
||||
{
|
||||
UINT32 runLength;
|
||||
UINT32 ladvance;
|
||||
ladvance = 1;
|
||||
runLength = 0;
|
||||
UINT32 runLength = 0;
|
||||
UINT32 ladvance = 1;
|
||||
|
||||
if (pbOrderHdr >= pbEnd)
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user