[client,common] annotate clang-analyzer-optin.core.EnumCastOutOfRange

This commit is contained in:
akallabeth 2024-10-01 13:03:43 +02:00
parent 032b34702d
commit fef9b1a012
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5

View File

@ -1708,6 +1708,7 @@ static void freerdp_client_print_tune_list(const rdpSettings* settings)
const char* name = freerdp_settings_get_name_for_key(x); const char* name = freerdp_settings_get_name_for_key(x);
type = freerdp_settings_get_type_for_key(x); type = freerdp_settings_get_type_for_key(x);
// NOLINTBEGIN(clang-analyzer-optin.core.EnumCastOutOfRange)
switch (type) switch (type)
{ {
case RDP_SETTINGS_TYPE_BOOL: case RDP_SETTINGS_TYPE_BOOL:
@ -1755,6 +1756,7 @@ static void freerdp_client_print_tune_list(const rdpSettings* settings)
default: default:
break; break;
} }
// NOLINTEND(clang-analyzer-optin.core.EnumCastOutOfRange)
} }
} }