Skip to content

Commit a86c93e

Browse files
authored
Ignore unused return value of GetCodepointNext in GetCodepointCount (#3241)
* 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. * Remove unnecessary void cast in GetCodepointCount
1 parent e2d4463 commit a86c93e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rtext.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1766,7 +1766,7 @@ int GetCodepointCount(const char *text)
17661766
while (*ptr != '\0')
17671767
{
17681768
int next = 0;
1769-
int letter = GetCodepointNext(ptr, &next);
1769+
GetCodepointNext(ptr, &next);
17701770

17711771
ptr += next;
17721772

0 commit comments

Comments
 (0)