[plist] Fix a purity issue in the json test

I guess I forgot to do a `make check` with optimized builds.
This commit is contained in:
Bill Currie 2024-10-26 23:34:55 +09:00
parent a22d2a9526
commit bff709e71d

View file

@ -53,7 +53,7 @@ static const char *test_strings[] = {
};
#define num_string_tests (sizeof (test_strings) / sizeof (test_strings[0]))
static int
static int __attribute__((pure))
wsstrcmp (const char *s1, const char *s2)
{
while (*s1 && *s1 == *s2) {