Removed unused variable warnings

This commit is contained in:
akallabeth 2020-05-19 08:04:02 +02:00
parent aea795eecf
commit 58ef235bc5
3 changed files with 1 additions and 2 deletions

View File

@ -395,7 +395,6 @@ UINT cliprdr_read_file_contents_response(wStream* s, CLIPRDR_FILE_CONTENTS_RESPO
UINT cliprdr_read_format_list(wStream* s, CLIPRDR_FORMAT_LIST* formatList, BOOL useLongFormatNames)
{
UINT32 index;
size_t position;
BOOL asciiNames;
int formatNameLength;
char* szFormatName;

View File

@ -185,6 +185,7 @@ int TestSettings(int argc, char* argv[])
{
const size_t key = pointer_list_indices[x];
const void* val = freerdp_settings_get_pointer(settings, key);
WINPR_UNUSED(val);
}
#endif

View File

@ -225,7 +225,6 @@ void StreamPool_Return(wStreamPool* pool, wStream* s)
pool->aArray[(pool->aSize)++] = s;
StreamPool_RemoveUsed(pool, s);
out_fail:
if (pool->synchronized)
LeaveCriticalSection(&pool->lock);
}