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
This commit is contained in:
parent
e2d4463886
commit
a86c93ebc0
1 changed files with 1 additions and 1 deletions
|
@ -1766,7 +1766,7 @@ int GetCodepointCount(const char *text)
|
||||||
while (*ptr != '\0')
|
while (*ptr != '\0')
|
||||||
{
|
{
|
||||||
int next = 0;
|
int next = 0;
|
||||||
int letter = GetCodepointNext(ptr, &next);
|
GetCodepointNext(ptr, &next);
|
||||||
|
|
||||||
ptr += next;
|
ptr += next;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue