Fixed unused and uninitialized warnings.
This commit is contained in:
parent
c97056e3a8
commit
c33754ae1d
@ -417,7 +417,6 @@ BOOL freerdp_image_copy(BYTE* pDstData, DWORD DstFormat,
|
||||
const UINT32 xSrcOffset = nXSrc * srcByte;
|
||||
const UINT32 xDstOffset = nXDst * dstByte;
|
||||
BOOL vSrcVFlip = flags & FREERDP_FLIP_VERTICAL;
|
||||
BOOL vSrcHFlip = flags & FREERDP_FLIP_HORIZONTAL;
|
||||
UINT32 srcVOffset = 0;
|
||||
INT32 srcVMultiplier = 1;
|
||||
UINT32 dstVOffset = 0;
|
||||
|
@ -139,7 +139,7 @@ PVIRTUALCHANNELENTRY freerdp_load_dynamic_addin(LPCSTR pszFileName,
|
||||
HINSTANCE library = NULL;
|
||||
size_t cchFileName;
|
||||
size_t cchFilePath;
|
||||
LPSTR pszAddinFile;
|
||||
LPSTR pszAddinFile = NULL;
|
||||
LPSTR pszFilePath = NULL;
|
||||
LPSTR pszRelativeFilePath = NULL;
|
||||
size_t cchAddinFile;
|
||||
|
@ -589,7 +589,6 @@ BOOL security_key_update(BYTE* key, BYTE* update_key, int key_len, rdpRdp* rdp)
|
||||
WINPR_DIGEST_CTX* sha1 = NULL;
|
||||
WINPR_DIGEST_CTX* md5 = NULL;
|
||||
WINPR_RC4_CTX* rc4 = NULL;
|
||||
BOOL rc;
|
||||
BYTE salt[] = { 0xD1, 0x26, 0x9E }; /* 40 bits: 3 bytes, 56 bits: 1 byte */
|
||||
BOOL result = FALSE;
|
||||
|
||||
|
@ -129,7 +129,6 @@ static pstatus_t general_YCoCgToRGB_8u_AC4R(
|
||||
{
|
||||
for (x = 0; x < width; x++)
|
||||
{
|
||||
UINT32 color;
|
||||
/* Note: shifts must be done before sign-conversion. */
|
||||
Cg = (INT16)((INT8)((*sptr++) << cll));
|
||||
Co = (INT16)((INT8)((*sptr++) << cll));
|
||||
|
Loading…
Reference in New Issue
Block a user