[warnings,types] fix BOOL assingments
This commit is contained in:
parent
7b0723efd2
commit
2477b37128
@ -120,7 +120,7 @@ static BOOL xf_keyboard_action_script_init(xfContext* xfc)
|
||||
char* context = NULL;
|
||||
strtok_s(buffer, "\n", &context);
|
||||
|
||||
if (!buffer || !ArrayList_Append(xfc->keyCombinations, buffer))
|
||||
if (!ArrayList_Append(xfc->keyCombinations, buffer))
|
||||
{
|
||||
ArrayList_Free(xfc->keyCombinations);
|
||||
xfc->actionScriptExists = FALSE;
|
||||
|
@ -2150,7 +2150,7 @@ BOOL freerdp_client_use_relative_mouse_events(rdpClientContext* ccontext)
|
||||
const rdpSettings* settings = ccontext->context.settings;
|
||||
const BOOL useRelative = freerdp_settings_get_bool(settings, FreeRDP_MouseUseRelativeMove);
|
||||
const BOOL haveRelative = freerdp_settings_get_bool(settings, FreeRDP_HasRelativeMouseEvent);
|
||||
BOOL ainput = false;
|
||||
BOOL ainput = FALSE;
|
||||
#if defined(CHANNEL_AINPUT_CLIENT)
|
||||
ainput = ccontext->ainput != NULL;
|
||||
#endif
|
||||
|
@ -1244,7 +1244,7 @@ static BOOL nla_read_ts_credentials(rdpNla* nla, SecBuffer* data)
|
||||
WinPrAsn1_OctetString credentials = { 0 };
|
||||
BOOL error = FALSE;
|
||||
WinPrAsn1_INTEGER credType = -1;
|
||||
BOOL ret = true;
|
||||
BOOL ret = TRUE;
|
||||
|
||||
WINPR_ASSERT(nla);
|
||||
WINPR_ASSERT(data);
|
||||
|
Loading…
Reference in New Issue
Block a user