浏览代码

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
pull/3254/head
ashn 2 年前
committed by GitHub
父节点
当前提交
a86c93ebc0
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/rtext.c

+ 1
- 1
src/rtext.c 查看文件

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

正在加载...
取消
保存