Suppress trainerproc compile warning for unused func (#7592)
This commit is contained in:
parent
8e58551088
commit
c80a41b730
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user