mirror of https://github.com/FreeRDP/FreeRDP
[warnings] fixed unused-variable warnings
This commit is contained in:
parent
f5462bdf92
commit
e496771034
|
@ -94,7 +94,9 @@ static INLINE BYTE* WRITEFIRSTLINEFGBGIMAGE(BYTE* pbDest, const BYTE* pbDestEnd,
|
|||
static INLINE BOOL RLEDECOMPRESS(const BYTE* pbSrcBuffer, UINT32 cbSrcBuffer, BYTE* pbDestBuffer,
|
||||
UINT32 rowDelta, UINT32 width, UINT32 height)
|
||||
{
|
||||
#if defined(WITH_DEBUG_CODECS)
|
||||
char sbuffer[128] = { 0 };
|
||||
#endif
|
||||
const BYTE* pbSrc = pbSrcBuffer;
|
||||
const BYTE* pbEnd;
|
||||
const BYTE* pbDestEnd;
|
||||
|
|
|
@ -2630,7 +2630,6 @@ fail:
|
|||
static BOOL progressive_rfx_write_message_progressive_simple(PROGRESSIVE_CONTEXT* progressive,
|
||||
wStream* s, const RFX_MESSAGE* msg)
|
||||
{
|
||||
UINT32 i;
|
||||
RFX_CONTEXT* context;
|
||||
|
||||
WINPR_ASSERT(progressive);
|
||||
|
|
|
@ -225,8 +225,6 @@ static BOOL rdp_redirection_write_base64_wchar(UINT32 flag, wStream* s, size_t l
|
|||
const void* data)
|
||||
{
|
||||
BOOL rc = FALSE;
|
||||
char buffer[64] = { 0 };
|
||||
const BYTE* ptr = NULL;
|
||||
|
||||
char* base64 = crypto_base64_encode(data, length);
|
||||
if (!base64)
|
||||
|
|
|
@ -1306,6 +1306,7 @@ fail:
|
|||
|
||||
char* freerdp_certificate_get_pem(const rdpCertificate* cert, size_t* pLength)
|
||||
{
|
||||
BOOL rc = FALSE;
|
||||
char* pem = NULL;
|
||||
WINPR_ASSERT(cert);
|
||||
|
||||
|
|
|
@ -80,8 +80,6 @@ static void unlock(void)
|
|||
|
||||
static void term_handler(int signum)
|
||||
{
|
||||
struct sigaction default_sigaction;
|
||||
sigset_t this_mask;
|
||||
static BOOL recursive = FALSE;
|
||||
|
||||
if (!recursive)
|
||||
|
|
Loading…
Reference in New Issue