Suppress trainerproc compile warning for unused func (#7592)

This commit is contained in:
Alex 2025-08-21 17:31:59 +02:00 committed by GitHub
parent 8e58551088
commit c80a41b730
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -178,7 +178,7 @@ static bool is_literal_string(struct String s1, const char *s2)
}
}
static bool starts_with(struct String s, const char *prefix)
static bool __attribute__((unused)) starts_with(struct String s, const char *prefix)
{
int n = strlen(prefix);
return strncmp((const char *)s.string, prefix, n) == 0;