Remove unnecessary void cast in GetCodepointCount

This commit is contained in:
ashn 2023-08-12 18:39:34 -04:00
parent 8f53033e86
commit 814b23b367

View File

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