mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[warnings] annotate cert-err34-c
This commit is contained in:
@@ -65,6 +65,8 @@ static bool is_mac_os_sonoma_or_later(void)
|
||||
int major = 0;
|
||||
int minor = 0;
|
||||
int patch = 0;
|
||||
|
||||
// NOLINTNEXTLINE(cert-err34-c)
|
||||
const int rc = sscanf(str, "%d.%d.%d", &major, &minor, &patch);
|
||||
if (rc != 3)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user