Ignore unused return value of GetCodepointNext in GetCodepointCount

Removes the last warning from non-external libraries when compiling with
the default build configuration on x64 Linux.
This commit is contained in:
ashn 2023-08-11 07:54:55 -04:00
parent c25b52b1b3
commit 8f53033e86

View File

@ -1766,7 +1766,7 @@ int GetCodepointCount(const char *text)
while (*ptr != '\0')
{
int next = 0;
int letter = GetCodepointNext(ptr, &next);
(void)GetCodepointNext(ptr, &next);
ptr += next;