Fixed -Wunused-variable
This commit is contained in:
parent
8de60f9472
commit
31c1700c0c
@ -152,8 +152,6 @@ static BOOL rdp_capability_set_finish(wStream* s, UINT16 header, UINT16 type)
|
||||
static BOOL rdp_apply_general_capability_set(rdpSettings* settings, const rdpSettings* src)
|
||||
{
|
||||
UINT16 extraFlags;
|
||||
BYTE refreshRectSupport;
|
||||
BYTE suppressOutputSupport;
|
||||
|
||||
WINPR_ASSERT(settings);
|
||||
WINPR_ASSERT(src);
|
||||
|
@ -2157,7 +2157,6 @@ BOOL gcc_write_client_monitor_data(wStream* s, const rdpMcs* mcs)
|
||||
BOOL gcc_read_client_monitor_extended_data(wStream* s, rdpMcs* mcs, UINT16 blockLength)
|
||||
{
|
||||
UINT32 index;
|
||||
UINT32 flags;
|
||||
UINT32 monitorCount;
|
||||
UINT32 monitorAttributeSize;
|
||||
rdpContext* context;
|
||||
|
@ -1422,7 +1422,6 @@ static int nla_decode_ts_request(rdpNla* nla, wStream* s)
|
||||
WinPrAsn1_OctetString octet_string;
|
||||
WinPrAsn1_INTEGER val;
|
||||
UINT32 version = 0;
|
||||
char buffer[1024];
|
||||
|
||||
WINPR_ASSERT(nla);
|
||||
WINPR_ASSERT(s);
|
||||
|
@ -611,7 +611,6 @@ static BOOL smartcard_sw_enumerateCerts(const rdpSettings* settings, SmartcardCe
|
||||
DWORD* retCount)
|
||||
{
|
||||
BOOL rc = FALSE;
|
||||
int res;
|
||||
SmartcardCertInfo** cert_list = NULL;
|
||||
|
||||
WINPR_ASSERT(settings);
|
||||
|
@ -27,7 +27,6 @@ static BOOL test_add16s_func(void)
|
||||
ALIGN(d1[FUNC_TEST_SIZE + 3]) = { 0 },
|
||||
ALIGN(d2[FUNC_TEST_SIZE + 3]) = { 0 };
|
||||
|
||||
char testStr[256] = { 0 };
|
||||
winpr_RAND((BYTE*)src1, sizeof(src1));
|
||||
winpr_RAND((BYTE*)src2, sizeof(src2));
|
||||
status = generic->add_16s(src1 + 1, src2 + 1, d1 + 1, FUNC_TEST_SIZE);
|
||||
|
@ -398,7 +398,6 @@ static int test_ntlm_server_authenticate(TEST_NTLM_SERVER* ntlm)
|
||||
|
||||
if (!hash_set && status == SEC_I_CONTINUE_NEEDED)
|
||||
{
|
||||
SecPkgContext_AuthIdentity AuthIdentity = { 0 };
|
||||
SecPkgContext_AuthNtlmHash AuthNtlmHash = { 0 };
|
||||
|
||||
if (ntlm->UseNtlmV2Hash)
|
||||
|
Loading…
Reference in New Issue
Block a user